Commit Graph

680 Commits

Author SHA1 Message Date
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
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 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
Musachy Barroso 25eea817c7 WW-1852 Support alternate label separator in xhtml form tags (new attribute "labelSeparator")
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549655 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 00:53:23 +00:00
Musachy Barroso f2c52b6ce8 WW-1888 Forms generate invalid xhtml using the xhtml template
* remove "namespace" attribute in generated html for form tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549187 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 18:46:47 +00:00
Musachy Barroso 34f31498f2 WW-1982 Drop deprecated table tag and supporting classes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549177 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 18:17:22 +00:00
Musachy Barroso 1d79fb73bf WW-2004
* Hide "id" attribute in tags where it is not used
* Update tag ref

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549173 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 18:02:11 +00:00
Musachy Barroso 3d0e9d3008 WW-1891 tags that insert values into the value stack should use "name" attribute to specify the name
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@547359 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 18:53:25 +00:00
Musachy Barroso 953628d226 WW-1350 Autofocus element of a form, the id of the element to get the focus is specified in the "focusElement" attribute of the "form" tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@547350 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 18:35:04 +00:00
Musachy Barroso 0216a6c1df WW-1981 set should use the "id" attribute like the url and bean tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546602 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 19:13:58 +00:00
Musachy Barroso bb5d5a61b5 * Remove last references to Dojo
* Remove unused file (TimePicker-1.txt)

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546575 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 17:55:36 +00:00
Musachy Barroso 3a01abe01b Delete unused templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546565 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 16:29:45 +00:00
Musachy Barroso 0fdb4e200b Delete datetimepicker.ftl which was moved to the Dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546563 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 16:27:51 +00:00
Musachy Barroso c83598687d WW-1853 Extend HttpHeaderResult to support HttpServletResponse.sendError()
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546352 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 01:46:27 +00:00
Musachy Barroso 686b369d0b Fix typo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546224 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 19:03:07 +00:00
Musachy Barroso 9137b81e23 Submit form using Dojo, instead of encoding command in URL (which was not encoding properly)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545885 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 15:09:50 +00:00
Musachy Barroso 0dddee1a62 Minor changes in order to be able to embed the console on a regular page (for interactive demo)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545805 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 22:38:17 +00:00
Musachy Barroso 57b5f7d141 WW-1979 Add annotation workflow definition to struts-default.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545803 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 22:31:50 +00:00
Musachy Barroso 8ac2229a57 WW-1971 Url tag should accept parameters that are Iterable as it does with String[]
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545343 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 23:13:32 +00:00
Musachy Barroso 9ce9769c37 WW-1975 Autocompleter w/loadMinimumCount ask for data on loading page
* Add "preload" attribute, which defaults to true (like in the div tag), which will prevent the autocompleter from loading its options when page is loaded

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545003 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:05:21 +00:00
Musachy Barroso 561bb38bf9 Update ajax tags reference
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543932 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:18:24 +00:00
Musachy Barroso c3059fa9bc Fix example typo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543180 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 16:29:53 +00:00
Musachy Barroso 3bc9121d69 Remove confusing comment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543170 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 15:50:08 +00:00
Donald J. Brown 919e1ffe07 Fixing tag output to be more xhtml compliant, adding mapper extension test
WW-1649


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541983 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 13:10:27 +00:00
Antonio Petrelli 65f13cd7b4 WW-1942
In the URL spaces are converted into %20, while in the file must be spaces.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541675 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 14:47:57 +00:00
Donald J. Brown bbee599025 Fixed request parameters to use linkedhashmap
WW-1942


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541529 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 04:02:32 +00:00
Donald J. Brown 2afa49524e Changing component parameters to use linkedHashMap (preserve order), fixed tests
to reflect this
WW-1942


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541523 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 03:35:00 +00:00
Musachy Barroso 572c6bdc58 Update javadoc for new tooltip implementation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541132 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 01:31:25 +00:00
Musachy Barroso f0bc701ddf WW-1903 Client side javascript validation has javascript errors when textfield labelposition is set to top
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@541124 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 00:34:33 +00:00