Commit Graph

2011 Commits

Author SHA1 Message Date
James Holmes 36d82cbc7f Add comments for Maven snippet plugin and remove spurious newlines per WW-2658. Thanks to Matthieu Chase Heimer for the patch.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@660522 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 14:08:00 +00:00
Musachy Barroso 2c1ffa7e73 WW-2462 Action - component: start(Writer) is called twice
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@659853 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 17:03:40 +00:00
Musachy Barroso 5a2759896f WW-2225 Check for null error and messages on templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@659661 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:11:36 +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
Musachy Barroso e07b7eb7d2 WW-2120 Dispatcher does not put request parameters of new url on the value stack.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@658883 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 21:31:04 +00:00
Musachy Barroso dae35dfd9c WW-2651 FileUploadInterceptor.java javadoc is not formatted correctly for Confluence snippets
Thanks to Matthieu Chase Heimer for the patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@658683 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 13:44:40 +00:00
David Newton 9067fdc945 Minor TLD doc spelling.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@658646 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 12:16:53 +00:00
James Holmes 66b2491338 Fix styling issue that was preventing the header on all of the showcase app pages from displaying properly in IE7.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@657105 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 15:33:10 +00:00
James Holmes ac1d6b48b8 Update to take advantage of performance improvements in FreeMarker and remove use of deprecated method.
WW-2649


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@656728 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 16:44:50 +00:00
Donald J. Brown 9a22985c1f Disabling the interceptor for multiple checkboxes with the same name, changing to add an array rather than a String
WW-2526


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@655721 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 03:14:03 +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
Musachy Barroso 61c03b374d * Refactor static content loading out of FilterDispatcher into DefaultStaticContentLoader, and add an extension point for it.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@653472 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:10:05 +00:00
Musachy Barroso e05d71ba32 * Refactor static content loading out of FilterDispatcher into DefaultStaticContentLoader, and add an extension point for it.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@653471 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:09:50 +00:00
Donald J. Brown bdc01ffb85 Reformatting annoying code
WW-2623


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652768 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 05:34:09 +00:00
Donald J. Brown 06030a440c Fixing assembly pom version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652766 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 05:15:01 +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
Donald J. Brown 490a449979 Fixing broken tests due to conflicting file name
WW-1942


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652737 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 02:33:03 +00:00
Donald J. Brown 1b9f55a2a6 Fixing locale so it can be set in struts.xml
WW-2068


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652734 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 02:29:02 +00:00
Donald J. Brown 1f2a359e0b Fixing xslt test failing when no internet connection available
WW-1942


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@652725 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 01:00:29 +00:00
Antonio Petrelli cac2ed6cad WW-2147
Restored portuguese messages, that I made them unreadable, sorry!

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651949 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 13:55:41 +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
Jeromy Evans 0a76d80364 Work-around to release threadlocal ActionContext in init and destroy
WW-2167


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651901 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 09:26:01 +00:00
Antonio Petrelli a8b3dcab97 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@651682 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 18:51:00 +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
Rainer Hermanns dd4b4c007e WW-2616 Adding missing plugins to assembly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651587 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 12:15:09 +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
Jeromy Evans 5fc379f510 FreemarkerTemplateEngine no longer swallows freemarker.core.ParseException
WW-2615


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651562 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 10:15:55 +00:00
Jeromy Evans 62e0acd2e5 Added more descriptive LOG.error msg for a missing freemarker template
WW-2615


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651537 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 08:40:10 +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 11df693e60 Clarifying purpose of struts.ui.templateDir setting
WW-1832

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651217 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 10:22:37 +00:00
Donald J. Brown 5f260d482a Adding generics to ApplicationAware
WW-2581


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@650141 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 13:37:21 +00:00
Donald J. Brown 8ec3792752 Fixing bad links in showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649884 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 04:40:35 +00:00
Donald J. Brown f3d09a04c1 Adding back accessors as deprecated for xslt result
WW-1550


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649881 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:54:03 +00:00
Donald J. Brown 6078c43b68 Removing the unused matchingPatterns and excludingPatterns parameters
WW-1550


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649880 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:52:37 +00:00
Donald J. Brown 21f3bcbbed Adding correct response type for json validation
WW-2571


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649878 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:38:49 +00:00
Donald J. Brown e584c30992 Use of generics in SessionAware and RequestAware
WW-2581


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649877 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:30:28 +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 b02b2424f8 Better error handling for XSLT transform errors
WW-2594


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649874 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:20:57 +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 787370ffc0 Better handling of disabled checkboxes
WW-2499


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649823 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 14:55:33 +00:00
Donald J. Brown 3024f72a7e Adding missing test resource
WW-2457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649822 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 14:18:54 +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 872012de45 Fixing improper render of boolean values for xslt result
WW-2457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649814 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 14:01:15 +00:00