Commit Graph

1579 Commits

Author SHA1 Message Date
René Gielen 80bb25dd2f Code cleanups / generification
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560895 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 09:06:37 +00:00
René Gielen f4d14204e3 WW-1661:
Minor code cleanups

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560880 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 07:04:19 +00:00
Antonio Petrelli cf351ce368 WW-2049
Added licenses to plugins code.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560745 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 15:55:59 +00:00
Antonio Petrelli 13b5b3a41a WW-2049
Added license to core/pom.xml.
Added configuration of RAT plugin in core/pom.xml to exclude some testing and generated files.
Third bunch of added licenses. The main project, the "core" and "api" modules have only correct license headers.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560554 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 15:14:04 +00:00
Musachy Barroso 560213cbe9 WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560339 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:57:41 +00:00
Musachy Barroso b42a06f505 Update tag description
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560334 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:40:52 +00:00
Musachy Barroso e6c552dffa WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560333 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:40:09 +00:00
Musachy Barroso 8066a53a0b WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560331 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:38:35 +00:00
Musachy Barroso 65cf49a1a1 WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560329 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:38:24 +00:00
Musachy Barroso bf1fc42345 WW-2070 Add an object browser to the debugging interceptor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560261 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 14:58:05 +00:00
René Gielen 0875a59f33 WW-2007:
Fixing problems with generated javascript idetitifiers containing unescaped id parameter value

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560258 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 14:56:11 +00:00
James Holmes 44aeb64064 WW-2064 XHTML checkbox template does not include tooltip consistently
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559849 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 15:16:40 +00:00
Antonio Petrelli cbe136ab09 WW-2049
Second bunch of added licenses.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559604 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 21:01:25 +00:00
James Holmes 3d9f578992 WW-1911 File Upload: content-type validation fails when no file is uploaded
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559307 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 03:45:17 +00:00
Antonio Petrelli c2f13be89b WW-2049
Added RAT report to the site.
First bunch of corrected licenses.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559206 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 21:01:18 +00:00
James Holmes ffd0fb693b WW-1938 Bug with multiple s:param tags inside s:url tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559127 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:33:38 +00:00
James Holmes 00c246f530 Add missing license.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559107 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:03:11 +00:00
James Holmes 170f5226ea Add missing license.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559086 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 15:36:11 +00:00
James Holmes 1dd7f9f81a WW-2038 Extra carriage returns in simple theme templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558600 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 04:46:19 +00:00
James Holmes 24ff921cc5 Minor error message change.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558575 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 01:02:13 +00:00
James Holmes d1b32bcb89 WW-2051 add additional javascript hooks for optiontransferselect
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 04:13:50 +00:00
Antonio Petrelli aeead6c254 WW-1724
Added code to Struts 2 showcase to show that the content type is present even with a FreeMarker result, i.e. with a FreeMarker layout page.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558101 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:32:02 +00:00
James Holmes c8fbc2e2d3 Update FreeMarker dependency to 2.3.10.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558080 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 18:24:59 +00:00
James Holmes 26c18bdd4d Update Struts 2.1 to use FreeMarker 2.3.9.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557999 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 14:02:29 +00:00
James Holmes 6ceb8ed0fa Call toString() on itemKey instead of the output of stack.findValue().
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557737 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 19:00:27 +00:00
James Holmes 83b583e5af Fix test failures caused by the fix for WW-1887. FreeMarker was complaining about the toString() call when it was applied to the value created by this tag: <#assign itemKey = ''/>.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557726 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 18:40:16 +00:00
James Holmes 6f5b8d1844 Update to conform to the Struts 2 DTD instead of the XWork DTD.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557689 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:02:15 +00:00
James Holmes a8a7008068 WW-1887 struts template/simple/select.ftl error/fix
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557647 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 14:51:31 +00:00
James Holmes c33de8671b More doc fixes.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557620 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 13:44:03 +00:00
James Holmes 8ca5854fd6 Fix some typos and bad english.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557616 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 13:35:21 +00:00
Nils-Helge Garli 11a6bbbfde WW-1645 Refactored portlet support into a plugin. Some missing files from last commit.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557568 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:56:57 +00:00
Nils-Helge Garli 48d2edd312 WW-1645 Refactored portlet support into a plugin.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557544 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:03:06 +00:00
James Holmes bfdd49d7de Fix test failures caused by the fix for WW-1618. It turns out that the doubleId was not being handled consistent with the way id is handled. I updated DoubleListUIBean.java to handle doubleId the same way as id. Basically doubleId will now be assigned the same value as doubleName if doubleId does not have a value.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557341 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 17:59:52 +00:00
James Holmes 530218fd1a WW-2031 Update struts-2.0.dtd for empty interceptor stack
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557319 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 16:34:39 +00:00
James Holmes b15b068b77 WW-1851 Struts 2.0 DTD missing "default-class-ref" element
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557297 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 15:39:23 +00:00
James Holmes 921dcf1b6d WW-1618 ww:doubleselect javascript uses name instead of id, resulting in array names that don't work
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557292 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 15:25:06 +00:00
James Holmes 14f20298b9 WW-2011 Struts result are not parsed by default
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557278 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 14:50:52 +00:00
James Holmes f1b205b0b7 Fix test failures caused by the fix for WW-1703. I finally figured out what was causing the test to fail. Everything should work fine now.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557255 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 13:29:49 +00:00
James Holmes 66cd39611f Fix test failures caused by the fix for WW-1703. I forgot about the deprecated result type names that are no longer in 2.1.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557043 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 20:06:55 +00:00
James Holmes 00144d2128 Fix test failures caused by the fix for WW-1703.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557023 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 18:53:12 +00:00
James Holmes f2f11ea625 WW-1703 NullPointer in SiteGraph
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556983 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 17:30:58 +00:00
James Holmes 63dea54f95 Undoing change committed in r556659. This code works as designed, I'm going to close WW-2018 as not an issue.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556660 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 16:09:59 +00:00
James Holmes 13c0d01c42 WW-2018 bad class name in struts.xml (springaction) makes the portlet demo not loading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556659 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 16:03:40 +00:00
Donald J. Brown 604388159c Adding tests to ensure recursive value attribute processing has been disabled
WW-2030


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556624 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 13:35:09 +00:00
Donald J. Brown 5f16c73803 Somewhat improving the location variable name
WW-1807


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556512 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 06:06:53 +00:00
Donald J. Brown 048333c2bc Adding ability to add custom action parameter prefixes
WW-1815

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556506 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 05:30:37 +00:00
Donald J. Brown 1cec0e823e Streamline code to not execute code when an attribute is not null
WW-1959

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556503 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 05:11:44 +00:00
Musachy Barroso 484a383a07 WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
* Make "name" optional in "set" tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 18:40:15 +00:00
Musachy Barroso 4194132426 WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
* Make "name" optional in "set" tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556096 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 18:38:45 +00:00
James Holmes b98e962531 WW-2020 bug in struts.xml of the portlet demo (bad result URL)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555741 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 20:08:30 +00:00