1910 Commits

Author SHA1 Message Date
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
Donald J. Brown ea890e6700 Fixing setter order problem by using constructor injection
WW-1753


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@532755 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 14:23:02 +00:00
Donald J. Brown 8974b8142a Updating to the new codebehind interface
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@532741 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 13:42:48 +00:00
Musachy Barroso bac67c2338 WW-1891 Add highlight effect to "targets" for the ajax tags
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@531046 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 15:07:08 +00:00
Musachy Barroso a9f7520b6c Fix failing testcase (runs on eclipse but fails on maven)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@530805 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 13:40:17 +00:00
Musachy Barroso 0cabb1c2f5 WW-1889
* startDate and endDate will be written as RFC 3339
* Add testcases and improve javadoc for DateTimePicker

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@530613 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 02:29:31 +00:00
Musachy Barroso 7d8771d970 WW-1867 onchange is not getting called when value changes in datetimepicker
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@530595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 00:47:12 +00:00
Musachy Barroso 4ee4d98028 WW-1883 Deprecate topic attributes in Tree tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@529800 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 23:03:44 +00:00
Musachy Barroso 7360c606c8 WW-1886 Add "resultLimit" attribute to autocompleter tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@529633 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 15:02:41 +00:00
Musachy Barroso d7ca8afe18 WW-1813 Tree Tag's treeCollapsedTopic and treeExpandedTopic attribute don't work.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528884 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 22:49:05 +00:00
Musachy Barroso fff62915b3 WW-1813 Tree Tag's treeSelectedTopic attribute doesn't work.
* Fix tree tag topic notification
* Fix showcase examples

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528868 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 20:19:55 +00:00
Musachy Barroso bcbb6cc637 WW-1813 Tree Tag's treeSelectedTopic attribute doesn't work.
* Fix tree tag topic notification
* Fix showcase examples

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528866 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 20:19:20 +00:00
Musachy Barroso 68c9cf35c8 Rename startSearchFromInput to match Dojo's _startSearchFromInput
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528327 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 02:41:43 +00:00
Musachy Barroso 8706f16380 Update Ajax Tags javadocs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528326 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 02:41:20 +00:00
Musachy Barroso d0f5fbe668 Rename startSearchFromInput to match Dojo's _startSearchFromInput
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528320 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 02:16:38 +00:00
Musachy Barroso e0cc846fc8 WW-1872 The autocompleter shoul accept a map of values also as its datasource
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528315 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 01:59:06 +00:00
Musachy Barroso 9bb5343607 Move tooltip.gif back to core
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528276 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 22:56:23 +00:00
Musachy Barroso 59556cc865 Split examples
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@528275 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 22:55:35 +00:00
Musachy Barroso 57d82a8a70 WW-1658 Create a general purpose "Bind" tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@526300 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:29:44 +00:00
Musachy Barroso 74ba44b5b7 WW-1793 Showcase Example 4 for Remote div does not work (something is broken on the div tag)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@525345 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 01:25:18 +00:00
Musachy Barroso 7e1ae2b439 WW-1869 Dojo ContentPane fails to parse paths with "!"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@525341 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 00:42:39 +00:00
Musachy Barroso 448789d0e1 WW-1869 Dojo ContentPane fails to parse paths with "!"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@525340 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 00:41:45 +00:00
Musachy Barroso daf2bbc988 WW-1860 Add "preload" attribute to div tag on Dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@525338 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 00:18:47 +00:00
Musachy Barroso a4835a7a18 WW-1536 Add a "cache" property to the head tag, that when true, uses an struts dojo profile, instead of standard dojo profile,
enabling the browser to catch the downloaded javascript files

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@524433 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 14:20:00 +00:00
Musachy Barroso d04d3fa173 WW-1855 Upgrade bundled Dojo to 0.4.2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@523142 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 02:20:03 +00:00