Commit Graph

1532 Commits

Author SHA1 Message Date
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
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 43e5e3e619 Fix POM name
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@549172 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 17:55:52 +00:00
Antonio Petrelli 58051700ae WW-1992
tiles-jsp added to Struts 2 assembly.


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@547696 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 14:35:32 +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 2b9201a81a WW-1848 Showcase, create an interactive OGNL demo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546231 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 19:36:57 +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 41ae6939ae WW-1848 Showcase, create an interactive OGNL demo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@546216 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 18:33:11 +00:00
Musachy Barroso f5416d5905 WW-1848 Showcase, create an interactive OGNL demo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545989 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 02:09:27 +00:00
Musachy Barroso a0daa38568 Remove checkbox example, there are all kind of inconsistencies between browsers, bad example
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545914 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 17:27:08 +00:00
Musachy Barroso c26d4b48f1 Fix example (using %{...} for a list instead of {...})
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545912 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 17:20:07 +00:00
Musachy Barroso a052eb9bca WW-1980 Ajax tags (most of them) are not working on IE 6
* IE doesn't like trailing commas in JSON

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545911 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 17:17:53 +00:00
Musachy Barroso d2008863b6 WW-1980 Ajax tags (most of them) are not working on IE 6
* IE doesn't like trailing commas in JSON

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545909 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 16:49:10 +00:00
Musachy Barroso 60e7480975 WW-1848 Showcase, create an interactive OGNL demo
* Add interactive link to homepage

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545887 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 15:25:12 +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 fa8ea50662 WW-1848 Showcase, create an interactive OGNL demo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545825 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 01:13:05 +00:00
Musachy Barroso 5226f676af WW-1848 Showcase, create an interactive OGNL demo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545816 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 23:55:37 +00:00