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
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
James Holmes
87c1c76597
Cleanup misspellings, bad english, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555347 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 18:04:23 +00:00
Musachy Barroso
9912354511
WW-1864 Ensure to retain the order of parameters
...
* Component was already using a LinkedHashMap
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555339 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:00:33 +00:00
Musachy Barroso
a57521878a
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* Use 'var' instead of 'id' on examples
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555302 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 15:25:29 +00:00
Musachy Barroso
cc9fe884e7
Rename FreeMarker templates cache constant to match other caching constant names
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555291 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 14:48:26 +00:00
Musachy Barroso
63d045c731
WW-2012 Freemarker caching of BeanWrapper models
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555289 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 14:44:54 +00:00
Musachy Barroso
10cc43d3f2
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* Use 'var' instead of 'id' on examples
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555058 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 19:48:47 +00:00
Musachy Barroso
57dab4db8e
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* Fix iterator tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@555056 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 19:40:06 +00:00
Musachy Barroso
479d4e98c0
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* 'var' cannot be required until 'id' is dropped
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@554643 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 13:38:57 +00:00
Musachy Barroso
19b6a832e5
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* Deprecate 'name' on 'set', use 'var' instead
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@554257 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 20:30:04 +00:00
Musachy Barroso
0c959bbd91
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
* Make ContextBean abstract
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@554228 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 17:08:55 +00:00
Musachy Barroso
41914b854f
WW-2027 Tags that push values into the value stack should use the "var" attribute to specify the name of the variable
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@554226 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 17:04:06 +00:00
Musachy Barroso
1bb8bd9c9d
WW-2024 Iterator tag does associate a value with the name specified on the "id" property when the value is null
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@554223 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 15:43:51 +00:00
James Holmes
021e1f7b6d
Fixed broken > in code sample.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@552948 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 18:56:53 +00:00
Musachy Barroso
a9e4b4db51
WW-1661 Implementation of Freemarker caching for Struts2
...
Guice complains that the dependency was not found, running the tests
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@552173 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 16:53:33 +00:00
Musachy Barroso
b1c7f16349
WW-1661 Implementation of Freemarker caching for Struts2
...
* Will be set to false by default
* Set to false when devMode is true
* Set struts.freemarker.templatesCache=true to enable it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@552165 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 15:57:13 +00:00
Musachy Barroso
97f531cee6
WW-1808 Support Freemarker template_exception_handler=rethrow
...
* new attribute "writeIfCompleted" was added to FreeMarkerResult which if set
to true will write to the stream only when there isn't any error processing
the template (false by default)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@551022 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 03:29:53 +00:00
Musachy Barroso
fc5a4e66ed
WW-1888 Forms generate invalid xhtml using the xhtml template
...
* Add "type" attribute to scripts
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@551001 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 01:25:25 +00:00
Wendy Smoak
53da45f060
WW-2009 Update the current version number to 2.0.8.
...
Reported by: Keith Weinberg
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549844 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 15:26:19 +00:00
Musachy Barroso
5382f898d1
WW-1930 Submit value (if "name" and "value" are set) when making an ajax request with the "submit" tag
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549674 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 02:25:21 +00:00