Commit Graph

242 Commits

Author SHA1 Message Date
Musachy Barroso 68c4436d44 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577810 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 16:50:01 +00:00
Donald J. Brown 101aa85aa1 Fixing tests
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577775 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:43:38 +00:00
Musachy Barroso 962f5886af Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577766 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:26:36 +00:00
Musachy Barroso 1352a01555 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577758 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:06:09 +00:00
Musachy Barroso f7cee24e11 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577747 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:49:59 +00:00
Musachy Barroso 6c29f36d23 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577745 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:49:15 +00:00
Musachy Barroso 92aa692879 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577743 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:39:10 +00:00
Musachy Barroso b66d3bd2a9 Remove break lines from javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577738 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:32:20 +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
Nils-Helge Garli d09da593eb WW-2164 Action was not added if namespace was blank
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@574163 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 08:03:42 +00:00
Philip Luppens 6d6492b1f0 Fixed class to pass unit test. Don't really like the solution, but for now it should work.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573921 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:46:02 +00:00
Philip Luppens c872ba3108 Missed JUnit test in last commit. Still having troubles to get the testcases to run normally. If this commit doesn't solve it, I might need some more time to fix this.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573919 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:28:42 +00:00
Philip Luppens 137da15d07 Made some minimal changes to improve the JFreeChart Result:
- chart getter can be specified
- type (png/jpg) can be specified
- throws NPEs if required fields are missing
- added example configuration and Action

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573912 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 21:48:46 +00:00
Donald J. Brown e2b0819538 Adding ability to load templates from classpath, in addition to web context
WW-2146


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573816 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 10:56:10 +00:00
Donald J. Brown 1a537ff27c Fixing references to xwork type system
XW-561


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573461 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:20:55 +00:00
Donald J. Brown 81d5ca327a Adding printing of jar and plugin info
WW-2154


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571991 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 14:33:15 +00:00
Donald J. Brown b416c2fbe1 Taking the Struts 1.3.5 jar out of the dependency chain WW-1715
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571958 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 11:39:33 +00:00
Donald J. Brown 501f80d465 Added display of constants and beans
WW-2153


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571945 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 10:49:26 +00:00
Antonio Petrelli b25dc1b3c3 WW-2151
Resolved snapshot dependencies by using the latest released version available, with the exception of Plexus (using 1.0-alpha-10) and XWork (still using SNAPSHOT).

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571941 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 10:41:16 +00:00
Musachy Barroso e601d02be6 WW-2136 Missing tag TextArea on dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 17:45:40 +00:00
Antonio Petrelli 786a94f35e WW-2049
Re-added the license header in a correct way, because i removed by mistake an important line.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@570699 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 08:44:02 +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 e977b5a63e WW-2134 Upgrade Dojo from 0.4.2 to 0.4.3 to address possible XSS Issues
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:47:20 +00:00
James Holmes ccc7b7471c WW-2104 Add default dispatcher constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566443 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 00:38:19 +00:00
Nils-Helge Garli a6aedd2dfb WW-2104 Renamed name of dispatcher servlet and made the name configurable
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566324 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 20:14:20 +00:00
Nils-Helge Garli 11a819d4d2 WW-2105 Do not copy the valuestack from event to render when the request cycle has been proper PRG
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566092 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 10:22:56 +00:00
René Gielen 60227b13f0 WW-2109:
id resolution for <s:form> - minor cleanups

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565756 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 13:49:45 +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
Nils-Helge Garli 45ab263e00 WW-2105 Added new PortletActionRedirectResult class to handle the same syntax as for the ServletActionRedirectResult
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565009 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 07:43:13 +00:00
Nils-Helge Garli 3715572d7c WW-2105 "Override" the redirectAction result type with the PortletResult type.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565005 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 06:03:38 +00:00
Nils-Helge Garli 672bb186cd WW-1713 Consider "method" tag attribute when creating urls
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564967 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:20:33 +00:00
Nils-Helge Garli f54b26d71f WW-2104 Added experimental support for intermediate dispatcher servlet allowing for wrapping the request to the JSP in a StrutsWrapperRequest
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564926 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 14:31:18 +00:00
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