Commit Graph

387 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 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
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
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
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
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
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
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
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
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
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 423360d377 WW-2586 Struts 1 plugin pom has dependancy on 1.3.5
o added missing method findActionConfigId(java.lang.String) in org.apache.struts.config.ModuleConfig 
o upgraded dependancy  to Struts 1.3.9


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667778 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:14:42 +00:00
Donald J. Brown 3b6d7cfe82 Adding tests to ensure results are overridden correctly
WW-2559


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667743 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 04:40:02 +00:00
Donald J. Brown 873d150890 Adding support for multiple parent packages to be defined at the package level, adding more
restrictions on the namespace, parentpackage, and results annotations


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667742 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 04:20:22 +00:00
Donald J. Brown 5030b89b33 Adding parameter exception handling for portlet redirects
WW-2676


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667732 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 03:19:53 +00:00
Donald J. Brown 54bf39cfcd Updating struts-annotations to fix tld generation errors
WW-2674


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@667334 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 04:42:46 +00:00
Rainer Hermanns 4c1cbed577 WW-2623 Struts 2.1.3 omnibus ticket
o optimzed imports

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666762 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 18:15:01 +00:00
Rainer Hermanns 16241f95a6 WW-2623 Struts 2.1.3 omnibus ticket
o optimzed imports

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666761 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 18:14:02 +00:00
Rainer Hermanns f54ce89923 WW-2623 Struts 2.1.3 omnibus ticket
o optimzed imports

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666756 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 18:11:00 +00:00
Musachy Barroso 9efd7fcfd9 WW-2667 REST should not extend Codebehind
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663605 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:31:01 +00:00
Musachy Barroso 92cea867a3 WW-2667 REST should not extend Codebehind
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663603 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:29:25 +00:00
David Newton cf1150f58c Minor spelling
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@658958 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 00:39:06 +00:00
Musachy Barroso 2019385915 Remove duplicated license header
Move license header inside <script> tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@658887 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 21:43:25 +00:00
David Newton 565b8f8642 Changed name to "Struts 2 REST Plugin" (was "Struts 2 Plugin").
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@655091 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 14:01:25 +00:00
Donald J. Brown 09b43b1838 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652751 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 03:47:24 +00:00
Donald J. Brown 373988eb4a [maven-release-plugin] prepare release STRUTS_2_1_2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652749 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 03:47:03 +00:00
Antonio Petrelli 974e051bc5 WW-2147
Fixed license headers where needed.
Re-enabled RAT plugin and fixed its configuration.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651946 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 13:41:38 +00:00
Jeromy Evans e9cb4945cf Fix to codebehind's unknown action handler based on Wes' patch
WW-2607


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651927 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 11:43:40 +00:00
Antonio Petrelli 9dc575f3b4 WW-2147
Removed license headers in .properties files temporarily to avoid conflicts with the Maven License plugin.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651674 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 18:09:24 +00:00
David Newton 41e0cf7797 Added reportParameters and exportParameters to the "params" snippet.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651638 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:18:06 +00:00
David Newton 6e44ec6c00 Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651635 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:08:56 +00:00
David Newton 61f943d751 WW-2365 - https://issues.apache.org/struts/browse/WW-2365
- Added support for both report and export parameters.

- Minor refactoring:
  - Moved some init and output code out of execute.
  - Normalized PDF reports to be the same as the rest.
  - Resulted in cleaner code, lower cyclometric comp.

Still no tests for this result type.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651634 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:04:45 +00:00
Nils-Helge Garli be1f09ca17 Removed some imports
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651596 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 12:49:45 +00:00
Nils-Helge Garli 9f6546dec0 WW-1875 Use the namespace of the current action if namespace is not specified. Refactored some tests.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 12:12:24 +00:00
Nils-Helge Garli ed3b8e5a68 WW-2504 Ignoring the includeParams for portlet urls. Had to extract some more code into the "UrlRenderer".
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651529 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 08:16:36 +00:00
Donald J. Brown 12d3f3f842 Annotation improvements to the result annotation
WW-2577


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649876 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:26:29 +00:00
Donald J. Brown f02befcd8f Adding new settings to disable classpath action scanning for the codebehind and rest plugins
WW-2506


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649873 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:09:23 +00:00
Donald J. Brown 17c6b53a7f Changing return code to 201 when location header is present
WW-2605


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649820 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 14:15:51 +00:00
Donald J. Brown 0c162a4efb Cleaning up the tabs
WW-2572


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649813 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 13:46:35 +00:00
Donald J. Brown 848b6f03ff Fixing NPE for navigations that don't involve a Struts 2 action
WW-2572


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649812 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 13:44:32 +00:00
Donald J. Brown 3f90a6cbe0 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649036 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 10:01:30 +00:00