Lukasz Lenart
ddd27197f5
Updates tests to new version of methods without ServletContext
2014-02-17 09:34:10 +01:00
Lukasz Lenart
de210c1e72
Solved WW-3508 - added disable property to sx:submit
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1026662 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 19:02:54 +00:00
Musachy Barroso
abef0ef66f
WW-2231 autocompleter: bug in autocompleter.ftl at disabled="false"
...
I also checked core tags and they are good.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@678836 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 18:00:30 +00:00
Rainer Hermanns
0a23cd4ec5
WW-2537 Fix generics in all codebase
...
Starting with Java5 enhancements in S2.
This patch applies required changes to S2 related to the "generified xwork"
XWork Java5 enhancements
o added generics where possible
o use parameterizes Collection classes where possible
o converted for to for-each loops
o optimized imports
o updated tests
o aligned parameter types with Struts2
o fixed some minor bugs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670170 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 09:40:34 +00:00
Antonio Petrelli
974e051bc5
WW-2147
...
Fixed license headers where needed.
Re-enabled RAT plugin and fixed its configuration.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651946 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 13:41:38 +00:00
Antonio Petrelli
9dc575f3b4
WW-2147
...
Removed license headers in .properties files temporarily to avoid conflicts with the Maven License plugin.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651674 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 18:09:24 +00:00
Donald J. Brown
2e3bedad4c
Enabled the "disabled" attribute for datetimepicker
...
WW-2320
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615188 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:45:27 +00:00
Antonio Petrelli
8dfaa6dd90
WW-2063
...
Fixed subversion properties.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@590812 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 20:32:54 +00:00
Donald J. Brown
2ea2d869cc
Replacing all usages of commons logging with xwork logging. Yay for closing memory leaks.
...
WW-1413
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@582626 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 13:26:12 +00:00
Musachy Barroso
4e9821f05b
WW-2017 dojo.hostenv.writeIncludes should pass the true parameter
...
* dojo.hostenv.writeIncludes will only be included if debug="true" on head tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@580449 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 18:18:02 +00:00
Musachy Barroso
250442591c
WW-2220 Autocompleter tag does not provide a way to specify initial key value
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@580386 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 15:20:38 +00:00
Donald J. Brown
cbdf6f296c
Changes necessary for XWork 2.1:
...
* New EL abstraction to allow ONGL to be replaced
* Got rid of static factories and state, in favor of dep injection
* New plugin API points for the EL abstraction
XW-566 XW-461 XW-561
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577728 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 12:51:41 +00:00
Musachy Barroso
add167aefd
WW-2077 Change parseWidgets to false in djConfig inside head FTL .Should be false for better performance!
...
* Now there is a new property "parseContent" in the "head" tag, which is set to "false" by default. If set to true, Dojo will scan the whole document looking for widgets.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569863 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:18:15 +00:00
Musachy Barroso
3d3ed4d537
WW-2106 HTML loaded by the ajax tags is parsed for dojo widgets, this should be optional and there should be a "parseContent" attribute to control it
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565512 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 20:47:50 +00:00
René Gielen
9fe437b44a
WW-2108:
...
Fix for failing Bamboo build
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565288 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 10:02:48 +00:00
René Gielen
8f411c1d12
WW-2108:
...
Make <s:tabbedpanel> being able to remember last selected tab using a cookie
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565264 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 08:13:30 +00:00
Antonio Petrelli
cf351ce368
WW-2049
...
Added licenses to plugins code.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560745 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 15:55:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
René Gielen
7d93a7f48e
WW-1750:
...
fixing <script> tags in templates using deprecated language attribute, therefore breaking W3C validation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516183 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 21:28:22 +00:00
Musachy Barroso
c4509dbfbc
WW-1607
...
* Add classes for form tag(just extend the ones on core)
* Copy datetimepicker.ftl from core
* Add common-events to the tags
* Remove dependency on xhtml theme
* Fix autocompleter failing test
* Restore compressed dojo.js (I overwrote it with the uncompressed one by mistake)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@515878 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:26:24 +00:00
Musachy Barroso
0902929dd6
WW-1607
...
Generate remote and static autocompleter from the same freemarker template
Fix autocompleter test
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@515424 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 02:20:44 +00:00
Musachy Barroso
65131d66a5
Move classes to "dojo" package so they don't conflict with the ones from core
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@514940 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 01:11:06 +00:00
Musachy Barroso
de09c2ca53
WW-1607 Separate dojo-related tags into their own plugin
...
* Overwrite parent attribute setters so they are added to the TLD
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@514458 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 18:51:30 +00:00
Musachy Barroso
e2f349dca9
WW-1607 Separate dojo-related tags into their own plugin. For prior history see < http://svn.apache.org/viewvc?view=rev&revision=514082 >
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@514083 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 05:48:54 +00:00