Commit Graph

722 Commits

Author SHA1 Message Date
James Mitchell 463ce50112 WW-2060 give credit where credit is due
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@563485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 13:01:09 +00:00
James Holmes ebb6c3f814 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@562020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 05:29:21 +00:00
James Holmes b5b90755f5 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@562017 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 05:16:18 +00:00
James Holmes bc9c3477bf WW-2080 actionError, actionMessage and fieldError Freemarker templates do not honor the cssClass and cssStyle attributes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561856 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 16:22:11 +00:00
James Holmes 90a91201e8 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561841 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:31:56 +00:00
James Holmes 59a63106a0 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561839 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:19:52 +00:00
James Holmes c1ff9ac97b Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561835 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:17:23 +00:00
James Holmes cad5823cb8 Remove spurious space character in bypass message.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 04:36:52 +00:00
James Holmes ff78317b63 Log a warning if user specifies a namespace and action with the <s:form> tag and the action is not found in the namespace. Right now this fails silently and the user gets an HTTP 404 typically. I've had this happen to me and it took a little while to realize I had the wrong namespace or action name. This warning should help users figure out the issue faster by giving them a heads up.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561619 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 01:14:18 +00:00
James Holmes 524c3d5c15 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561600 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 23:50:04 +00:00
Musachy Barroso b8ccb9e9c3 Improve select tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561407 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 17:44:17 +00:00
Donald J. Brown 20da1d6161 Making the mapper easier to extend
WW-2078


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560966 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 13:08:11 +00:00
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 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 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 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 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
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 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
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 c5bd467c36 WW-1854 XSLTResult excludingPattern Property is Missing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555706 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 18:09:59 +00:00
James Holmes 6269fa89e9 WW-1818 Reduce redundant logging in Dispatcher
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555704 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 17:50:15 +00:00
James Holmes f1da9b984f WW-1850 struts-default package in struts-default.xml should be abstract
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555696 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 17:06:26 +00:00