Commit Graph

2081 Commits

Author SHA1 Message Date
Donald J. Brown 0b8fcdf609 Adding ability to customize validation failure status code, refactoring content type handler manager into
interface and impl for easier testing
WW-2358


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676195 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 15:55:58 +00:00
Donald J. Brown bc7ae89de3 Adding override annotations
WW-2691


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676182 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 14:43:27 +00:00
Donald J. Brown a5ae3c599b Ensuring action context is setup by prepare dispatcher ahead of action execution
WW-2079


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676181 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 14:40:27 +00:00
Donald J. Brown a4ee229d43 Adding test to ensure action tags are executed without the method from the URI polluting the result
WW-2290


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676179 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 13:55:51 +00:00
Wesley Wannemacher 60eddc6f17 quick fix, broken build, ref WW-2716
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@675438 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 04:37:34 +00:00
Donald J. Brown 78e853bcb3 Repackaging new dispatchers, adding "unsupported" servlet dispatcher, fixing a spring issue where
it was needlessly tied to WebApplicationContext and a rest issue where the autowiring of returned
result objects wasn't copied into the rest plugin from xwork
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674498 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 14:10:42 +00:00
Donald J. Brown b43e67584c Choosing better package name for next-generation dispatchers
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 03:54:31 +00:00
Jeromy Evans 828b457ad6 WW-2706 Changed system.out to LOG.debug in codebehind's ClasspathPackageProvider
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@673304 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 07:12:50 +00:00
Jeromy Evans 0f08615c62 WW-2702 Codebehind unknown handler can now instantiate PackageConfig.defaultClassRef instead of only ActionSupport.
Rest plugin provides defaultClassImpl impl with index() method to support unknown actions.


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@673081 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 13:49:01 +00:00
Jeromy Evans 48dbfd8104 WW-2701 Improved CodebehindUnknownHandler use of classpath leading slash & path concatenation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@672982 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 03:48:03 +00:00
Jeromy Evans f36ac2fcc0 WW-2641 Separated the request and response ContentTypeHandlers. Added x-www-form-urlencoded handler
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@672721 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 07:54:36 +00:00
Donald J. Brown 122ab67bc1 Adding new filter tests, deprecating old filter
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@672473 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 07:25:05 +00:00
Nils-Helge Garli 108a676ee0 WW-2619 Added unicode escape codes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@671184 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 14:22:29 +00:00
Nils-Helge Garli 663365f156 WW-2619 Escaped unicode characters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@671178 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 14:10:31 +00:00
Nils-Helge Garli 2fd890506d WW-2619 Fixed some weird characters...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@671175 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 14:04:22 +00:00
Nils-Helge Garli c5a87c85b8 WW-2622,WW-2537 Remove hard coding of .action extension and added use of generics.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@671156 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 12:33:59 +00:00
Rainer Hermanns f7f3deedc8 WW-2878 portlet dispatching after action phase renders in wrong namespace
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670542 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 12:31:51 +00:00
Musachy Barroso 295150b5e9 WW-2601 Tabindex not working on autocompleter
also fixed tabindex for datepicker 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670371 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 15:28:01 +00:00
Donald J. Brown 1fe337bb3d Changing filter to new struts filter
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670311 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:05:11 +00:00
Donald J. Brown 8d395ee27c Adding new filter to rest showcase
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670310 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:03:27 +00:00
Donald J. Brown 8ced5d0f1f Adding new filter to showcase
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670309 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:01:01 +00:00
Donald J. Brown b69f71aa2e Better error handling in new filters, added autowire respect property to default list
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670308 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:00:43 +00:00
Donald J. Brown a4b404075c Converted web.xml to use new filter, added default action
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670307 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:00:00 +00:00
Musachy Barroso 0d72932171 Sync custom build with latest changes in javascript code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670231 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 17:14:19 +00:00
Donald J. Brown 8f5e79d987 First cut at a new filter strategy
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670209 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 15:13:59 +00:00
Musachy Barroso 37371b3684 WW-2669 Autocompleter options list element does not resize correctly
thanks to Aner Perez for the patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670200 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 14:04:10 +00:00
Musachy Barroso cc68365a5f WW-2688 Ignore parameters that start with 'struts.'
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670197 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 13:47:47 +00:00
Rainer Hermanns 3fb3be2532 WW-2240 FileUploadInterceptor causes null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670196 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 13:34:53 +00:00
Rainer Hermanns e839817c48 WW-2678 portlet dispatching after action phase renders in wrong namespace
o applied slightly modified patch submitted by Herbert Poul

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670193 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 13:01:53 +00:00
Donald J. Brown dad9f86de4 Fixing test that breaks in Java 6 WW-2537
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670174 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 10:16:19 +00:00
Rainer Hermanns 51ef883a72 WW-2687 Upgrade JasperReports dependancy to 3.0.0
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670173 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 10:14:50 +00:00
Rainer Hermanns d733e103ba WW-2637 add timezone support to Jasper Reports Plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670172 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 10:12:56 +00:00
Rainer Hermanns 0a23cd4ec5 WW-2537 Fix generics in all codebase
Starting with Java5 enhancements in S2. 
This patch applies required changes to S2 related to the "generified xwork"

XWork Java5 enhancements 
o added generics where possible
o use parameterizes Collection classes where possible
o converted for to for-each loops
o optimized imports
o updated tests
o aligned parameter types with Struts2
o fixed some minor bugs

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670170 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 09:40:34 +00:00
Donald J. Brown 59d65a0aa7 Fixing struts-annotations to work now
WW-2132


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670137 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 04:35:43 +00:00
David Newton 2a7a22b206 Upcased "-Disposition" as per RFC-1896/Bob's suggestion.
http://www.ietf.org/rfc/rfc1806.txt


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670109 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 00:53:24 +00:00
Donald J. Brown 561b08386a Updating to latest annotations jar
WW-2132


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@669983 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 16:40:40 +00:00
Donald J. Brown 8378fbbd22 Ensuring that the mapper sets the namespace to / when available and no other namespace is found
WW-2461


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@669895 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 13:48:18 +00:00
Donald J. Brown 886cbda5cd Adding a test to prove radio tag properly handles a map of strings
WW-2046


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@669881 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 13:01:59 +00:00
Rainer Hermanns 9cbdb09169 WW-2479 Adding new setting to force spring object factory to use configured autowire strategy
o fixing build by commenting "old" constructor in StrutsSpringObjectFactory
o adding missing param to struts-plugin.xml in portlet-plugin

NOTE: This needs to be reviewed again!


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@669193 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 14:47:55 +00:00
David Newton 6736da66a5 Cool OGNL treachery, Jan's comments.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@668673 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 13:54:54 +00:00
Donald J. Brown d24822fb69 Adding new setting to force spring object factory to use configured
autowire strategy
WW-2479


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@668645 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 13:09:09 +00:00
Donald J. Brown 7dc0031e33 Fixing action tag so it doesn't set wrong action invocation
WW-2611


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@668602 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 10:14:25 +00:00
James Holmes 5476f03918 Reverse changes made in revision 667876.
WW-2238

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@668253 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 18:08:45 +00:00
James Holmes 5d9bed1745 WW-2238 checkboxlist labels and values mixed up
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667876 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 20:44:48 +00:00
James Holmes 6a5c87319d Quick grammar fix.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667873 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 20:26:34 +00:00
James Holmes e654941b34 Quick grammar fix.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667872 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 20:23:44 +00:00
Rainer Hermanns e8a2fb1497 WW-2536 Autocompleted element don't publish topics when it changed
o applied patch by Stanislav Malishevskiy

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667794 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:48:21 +00:00
Rainer Hermanns 5a5f88205d WW-2520 IE bug on tabbedpanel with Enclosed ajax div on first tab
o applied patch by Stanislav Malishevskiy

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667793 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:44:40 +00:00
Rainer Hermanns c760241930 WW-2480 Some OGNL expressions do not work with DateTimePicker component
o applied patch by Mike Calmus

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667791 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:41:00 +00:00
Rainer Hermanns bc3301bb3e WW-1725 FileUploadInterceptor and localized messages problem
o implemented requested feature based on a new config parameter:
   set useActionMessageBundle config parameter to true to use action message bundles
   The default behaviour is not changed at all, so this change is fully backwards compliant.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667779 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:19:07 +00:00