Commit Graph

136 Commits

Author SHA1 Message Date
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
Musachy Barroso a665f05685 WW-1861 Add "extraLocales" and "locale" to head tag on Dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@523138 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 02:02:55 +00:00
Musachy Barroso bae4969cf8 WW-1800
* Add "compressed" and "baseRelativePath" attributes to the head tag on the Dojo plugin
* Ignore inherited tag attributes on head tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522094 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 19:10:01 +00:00
Musachy Barroso 3ba68f13d7 WW-1778 datetimepicker will now apply the "cssStyle" and "cssClass" to the input element
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522057 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 17:23:45 +00:00
Musachy Barroso 4654ab3c0a WW-1775 Nested tabbedPanel does not work in IE
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522050 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 16:16:58 +00:00
Musachy Barroso 92c1dc1c60 WW-1667
* Move script generated on form tag outside the table element
* Make xhtml complient the input generated by the autocompleter tag

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522041 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 15:52:18 +00:00
Musachy Barroso 59675011f6 WW-1812
* Flag "closeButton" attribute as deprecated on tabbedpanel tag, and add "closable" on div tag
* Update showcase tabbedpanel example
* Remove ajax html doc from old location on core

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522039 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 15:37:58 +00:00
Musachy Barroso c8e4ad5df4 WW-1607 Improve autocompleter's javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522038 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 14:48:38 +00:00
Musachy Barroso 2b3197b1bc WW-1607 Improve anchor's javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522028 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:31:12 +00:00
Musachy Barroso 1f3104502e WW-1607 Improve anchor's javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@522027 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:30:18 +00:00
Musachy Barroso a77ea70bed WW-1607 Add ajax notify topics to autocompleter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@521551 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 00:51:54 +00:00
Donald J. Brown 74855426e3 Fixed missing import
WW-1826


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@519450 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 21:46:41 +00:00
Donald J. Brown fd9a15a89d Better handling of invalid package name
WW-1826


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@519447 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 21:39:17 +00:00
Musachy Barroso 07ac6bd6d9 WW-1607
* Remove unused files
* Remove deprecated attributes "beforeLoading", "afterLoading", "resultDivId", "preInvokeJS", "onLoadJS"
* Add attributes "beforeNotifyTopics", "afterNotifyTopics", "errorNotifyTopics"

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@519409 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 18:57:22 +00:00
Musachy Barroso ad3e83375c WW-1823 rename getAutocompleterModel to getAutocompleter in StrutsModels
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@519209 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 01:48:24 +00:00
Musachy Barroso 8a7fdfad6e WW-1607
* Restore javascript files to core that were moved to the dojo plugin but were not related to dojo
* Render a tr with cells for the ajaxtags if a "label" is specified
* Fix wrong reference to dojo tooltip


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@519204 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 01:35:42 +00:00
James Mitchell da4e814ee2 WW-1767 Remove Struts 2 JSF Plugin's dependency on Struts 1.3.8 -- probably an oversight
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@518612 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 12:58:12 +00:00
Musachy Barroso 20affeab23 WW-1707 Update action mapping to use "redirectAction" instead of "redirect-action"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@517966 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 01:28:27 +00:00
Musachy Barroso 97f9941ac3 WW-1607
* Add cssStyle to form template
* Add struts-plugin.xml for the Dojo plugin


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@517965 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 01:26:33 +00:00
Ted Nathan Husted 55dd8188a3 WW-1707 Apply consistent naming for the interceptors in struts-default.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@517096 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 04:46:27 +00:00
Ted Nathan Husted 419dc383a0 WW-1548 Remove continuation support from 2.1.x, and move continuations to the sandbox.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@517095 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 04:31:08 +00:00
Donald J. Brown 56daf5ce75 Fixed dojo tests
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516988 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 19:00:38 +00:00
Donald J. Brown ff13616fe3 Changing tiles plugin to use the latest released version
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516986 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 18:49:39 +00:00
Musachy Barroso 3e77b6934f WW-1607
* Copy head tag to Dojo plugin
* Remove calendar-related attributes and tests from head tag
* Fix tabbedpanel examples in showcase to use the head tag from the Dojo plugin

WW-1757 Rename tabbed panel tag to "tabbedpanel" (from "tabbedPanel")



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516804 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 22:56:58 +00:00
Musachy Barroso 39fec2b7ac WW-1607
* Modify the StrutsTagSkipInheritance annotation so it can be applied to methods
* Overwrite setTheme(String) on the ajax tags to annotate it @StrutsTagSkipInheritance



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516779 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 20:22:34 +00:00