1908 Commits

Author SHA1 Message Date
Nils-Helge Garli 9fbbeea663 Added missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564610 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:46:41 +00:00
Nils-Helge Garli 06d7cb4e06 Added missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564609 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:45:51 +00:00
Nils-Helge Garli 1800f44731 WW-2053,WW-2101 Removed ServletContextHolder - Using mock servlet object instead. New interceptor for state handling.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564602 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:16:24 +00:00
Nils-Helge Garli 8f4dfbe63f WW-2101 Removed PreparatorServlet - Replaced by mock servlet implementation classes in org.apache.struts2.portlet.servlet
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564599 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:05:17 +00:00
Nils-Helge Garli de9f68d868 Removed mock - Replaced by the classes in org.apache.struts2.portlet.servlet
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564594 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 13:57:22 +00:00
Nils-Helge Garli 0b24ede354 WW-1836 Order of the entries in the entry set is not guaranteed.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 06:37:07 +00:00
Nils-Helge Garli d222f92835 WW-1836 Refactored unit tests for PortletSessionMap and PortletRequestMap. Also removed some unecessary logging.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564476 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 06:07:48 +00:00
Nils-Helge Garli 3774507d5f WW-2096 Missing test-change that subclipse didn't pick up...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564287 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:29:01 +00:00
Nils-Helge Garli fe8fd6125c WW-2097 The PortletAwareInterceptor replaces the PortletPreferencesInterceptor.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564283 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:16:06 +00:00
Nils-Helge Garli 979b8c0544 WW-2097 New "aware" interfaces and interceptor. The PortletAwareInterceptor replaces the PortletPreferencesInterceptor.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564282 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:15:28 +00:00
Nils-Helge Garli a42a60b1ab WW-1989,WW-2053,WW-2096 Push action on stack instead of action proxy. Also use the new wrapper servlet objects to support components/interceptors that rely on the servlet classes.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564280 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:06:07 +00:00
Nils-Helge Garli 330f6ecb56 Added method to get the portlet context
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564279 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:00:49 +00:00
Nils-Helge Garli 2440ce6bdb WW-1989,WW-2053 Provide "mock" implentation of servlet classes wrapping the portlet classes. Eases reuse of components/interceptors that has references to servlet api objects.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564246 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 15:36:52 +00:00
Nils-Helge Garli bdbe0bf7f9 WW-2052 Put location from renderDirect action in session instead of render parameter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564120 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 07:14:51 +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 e6c552dffa WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560333 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:40:09 +00:00
James Holmes 00c246f530 Add missing license.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559107 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:03:11 +00:00
James Holmes 170f5226ea Add missing license.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559086 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 15:36:11 +00:00
James Holmes 24ff921cc5 Minor error message change.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558575 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 01:02:13 +00:00
Nils-Helge Garli 48d2edd312 WW-1645 Refactored portlet support into a plugin.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557544 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:03:06 +00:00
James Holmes f1b205b0b7 Fix test failures caused by the fix for WW-1703. I finally figured out what was causing the test to fail. Everything should work fine now.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557255 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 13:29:49 +00:00
James Holmes 66cd39611f Fix test failures caused by the fix for WW-1703. I forgot about the deprecated result type names that are no longer in 2.1.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557043 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 20:06:55 +00:00
James Holmes 00144d2128 Fix test failures caused by the fix for WW-1703.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557023 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 18:53:12 +00:00
James Holmes f2f11ea625 WW-1703 NullPointer in SiteGraph
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@556983 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 17:30:58 +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 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