Commit Graph

184 Commits

Author SHA1 Message Date
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 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
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 c721b256b2 Fix form autodiscover for bind tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545813 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 23:17:28 +00:00
Antonio Petrelli 8ec2fc67aa WW-1973
Updated Struts2-Tiles plugin to depend on Tiles 2.0.4.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@545160 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 13:07:00 +00:00
Musachy Barroso 393ad06f40 WW-1975 Autocompleter w/loadMinimumCount ask for data on loading page
* Add "preload" attribute, which default 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@545001 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:04:23 +00:00
Musachy Barroso 3f2e01dd3a Fix autocompleter bug when reading data as a field of an object from the JSON returned from action
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@544985 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 23:14:00 +00:00
Musachy Barroso 32298bc001 WW-1951 Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543927 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:14:32 +00:00
Musachy Barroso be0b15a774 Update autocompleter tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543918 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 15:18:15 +00:00
Musachy Barroso 60b224e647 Keep backward compatibility for setSelectedValue() javascript function on autocompleter tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543909 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 14:49:50 +00:00
Musachy Barroso 89008980f0 Change order of parameters passed before/after selecting a tab
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543908 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 14:42:34 +00:00
Musachy Barroso 35a6233625 * Make valueNotityTopics in datetimepicker pass parameters: text, Date, widget
* Add example to datetimepicker example

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 17:43:20 +00:00
Musachy Barroso 2cfe554bda Improve documentation of datetimepicker tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543758 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 17:00:05 +00:00
Musachy Barroso eec01916fb Add test for "today" value
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543757 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 16:58:33 +00:00
Musachy Barroso cc166732d5 WW-1945 add a method(javascript) to set the selected value to the autocompleter
methods added to the autocompleter widget:

* setSelectedKey(key)
* setSelectedValue(value)
* getSelectedKey()
* getSelectedValue()
* getText()

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543354 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 01:55:37 +00:00
Musachy Barroso b266c23227 WW-1925 Add a "transport" attribute to tags Bind, Anchor and Submit, and Div
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@543218 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 19:07:05 +00:00
Musachy Barroso 68edbc107d Improve head tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542871 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 16:46:58 +00:00
Musachy Barroso 2fac251a17 Improve datetimepicker tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542869 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 16:42:42 +00:00
Musachy Barroso 1795e18915 Improve bind tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542861 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 16:22:53 +00:00
Musachy Barroso ee9f11e8d5 Improve anchor tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542719 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 01:57:06 +00:00
Musachy Barroso 21e18c0b58 Improve submit tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542718 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 01:56:26 +00:00
Musachy Barroso 3da11f142a Improve remote div documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542715 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 01:40:36 +00:00
Musachy Barroso e4bbbcdcd2 Improve remote div documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542714 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 01:39:00 +00:00
Musachy Barroso 2da24979d2 * Make "sources" and "events" attributes optional in "bind" tag
* Fix minor notifyTopics bug on "binddiv" and "bind" (wrong parameters were passed when the returned text was an empty string)

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542324 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 21:41:04 +00:00
Musachy Barroso 89962ee6a3 WW-1953 Freemarker templates fail to use the tags defined in the Dojo plugin
* The Dojo model was still referencing models from core (submit, anchor and div)

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542273 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 16:50:52 +00:00
Musachy Barroso 4c1be74813 Add head tag model to freemarker available models
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@542254 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 16:03:15 +00:00
Antonio Petrelli 90d276b986 WW-1941
Updated Struts 2 - Tiles 2 plugin to use Tiles 2.0.3 in trunk.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@540963 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 14:42:55 +00:00
Musachy Barroso 90476742ad WW-1935 Tags Bind, Anchor and Submit, in the Dojo plugin should have a "separateScripts" attribute to run scripts on their own scope
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@539951 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 21:35:18 +00:00
Musachy Barroso 9e11d44e5e WW-1935 Tags Bind, Anchor and Submit, in the Dojo plugin should have a "separateScripts" attribute to run scripts on their own scope
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@539946 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 21:29:37 +00:00
Musachy Barroso dc0ac6ae36 WW-1923 Attributes "value", "startDate", and "endDate" must be evaluated as Object instead of String
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@538771 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 22:59:20 +00:00
Musachy Barroso b785314b3c Improve "head" tag javadocs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537681 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 23:53:33 +00:00
Musachy Barroso aaf723cc12 * Rename ajax validation parameter to "struts.validateOnly"
* Add ajax validation parameter only when "validate" attribute is set to true

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537674 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 23:04:40 +00:00
Musachy Barroso 6b3fcf88a0 Add notes on how to build the struts dojo profile
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537627 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 18:16:55 +00:00
Musachy Barroso dab067c752 WW-1784 DateTimePicker does not work from JSP action result
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537615 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 17:26:45 +00:00
Musachy Barroso cf2ab902d9 Fix css loading problem on autocompleter widget. On 0.4.2 dojo embedded the css string into the combobox widget so is not loading an external css file
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537610 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 16:33:09 +00:00
Musachy Barroso 668fe54b76 WW-1919 remove "action" attribute
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537519 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 22:07:21 +00:00
Musachy Barroso cb76c34455 WW-1914 attribute tabindex does not get rendered for submit tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@537471 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 15:55:53 +00:00
Musachy Barroso bf2301aad5 WW-1917 Tag datetimepicker gives "Invalid field value for field xxx:" on form submit when browser locale does not match request_locale
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@536393 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 02:04:20 +00:00
Musachy Barroso fb56b772e3 * Fix velocity directives (so #sxTAGNAME maps to TAGNAME)
* Change type of tabbedpanel, treenode and tree to BLOCK
* Small datetimepicker javadoc fix

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@536387 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 01:07:14 +00:00
Musachy Barroso 6115e6abca WW-1910 Tree tag should be able to load its nodes using ajax
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@535633 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 16:11:23 +00:00
Musachy Barroso 49d8315fc0 WW-1909 User should be able to enable/disable tabs in the tabbedpanel tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@535556 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 18:45:02 +00:00
Musachy Barroso 1293380bb3 WW-1837 TabbedPanel selectedTab change event catch!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@535360 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 19:25:42 +00:00
Musachy Barroso 942f27ffbf Improve javadoc examples for Bind, and Anchor tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@534243 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 21:02:01 +00:00
Musachy Barroso 8256cba54d Simplify before/after/error notify topics
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@534232 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 20:35:31 +00:00
Musachy Barroso 63b74515b9 Improve how the autocompleter gets the data from the JSON response
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@533543 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 18:53:08 +00:00
Musachy Barroso 903fe2fbf9 WW-1901 "showLoadingText" should default to false in the ajax tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@533408 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:44:27 +00:00
Musachy Barroso 0d7df19a3d WW-1900 Clean up Dojo plugin
* Remove NiftyCorners javascript and css files
 * Remove unused javascript files

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@533403 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:06:51 +00:00
Musachy Barroso 8c9b0d1dff WW-1897 Create JSONValidationInterceptor
* Add 'validate' attribute to submit,anchor and bind tags for ajax validation
 * Add 'ajaxAfterValidation' attribute to submit,anchor and bind tags to make an ajax request if validation succeeds (false by default)

WW-1900 Clean up Dojo plugin
 * Rename AbstractRemoteCallUIBean
 * Drop 'form' tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@533389 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 16:59:01 +00:00
Donald J. Brown 66e68a0f1b Adding default constructor call
WW-1753


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@532757 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 14:23:48 +00:00