Commit Graph

1597 Commits

Author SHA1 Message Date
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
James Mitchell 463ce50112 WW-2060 give credit where credit is due
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@563485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 13:01:09 +00:00
Antonio Petrelli f50c16070f WW-2049
First bunch of license headers in sample apps code.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@563238 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 19:53:57 +00:00
James Holmes ebb6c3f814 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@562020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 05:29:21 +00:00
James Holmes b5b90755f5 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@562017 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 05:16:18 +00:00
James Holmes bc9c3477bf WW-2080 actionError, actionMessage and fieldError Freemarker templates do not honor the cssClass and cssStyle attributes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561856 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 16:22:11 +00:00
James Holmes 90a91201e8 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561841 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:31:56 +00:00
James Holmes 59a63106a0 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561839 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:19:52 +00:00
James Holmes c1ff9ac97b Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561835 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:17:23 +00:00
James Holmes cad5823cb8 Remove spurious space character in bypass message.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 04:36:52 +00:00
James Holmes ff78317b63 Log a warning if user specifies a namespace and action with the <s:form> tag and the action is not found in the namespace. Right now this fails silently and the user gets an HTTP 404 typically. I've had this happen to me and it took a little while to realize I had the wrong namespace or action name. This warning should help users figure out the issue faster by giving them a heads up.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561619 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 01:14:18 +00:00
James Holmes 524c3d5c15 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561600 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 23:50:04 +00:00
Musachy Barroso b8ccb9e9c3 Improve select tag documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561407 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 17:44:17 +00:00
James Holmes 4ce0026a55 Fix formatting to be all spaces instead of a mix of spaces and tabs.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561223 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 02:58:36 +00:00
James Holmes 2ea2f95b36 Specify XML version and encoding.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561219 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 02:44:54 +00:00
James Holmes daa46fb71f Fix formatting to be all spaces instead of a mix of spaces and tabs. Also fix init param comments that were incorrect.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@561218 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 02:37:02 +00:00
Donald J. Brown 20da1d6161 Making the mapper easier to extend
WW-2078


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560966 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 13:08:11 +00:00
René Gielen 80bb25dd2f Code cleanups / generification
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560895 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 09:06:37 +00:00
René Gielen f4d14204e3 WW-1661:
Minor code cleanups

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560880 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 07:04:19 +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
Antonio Petrelli 13b5b3a41a WW-2049
Added license to core/pom.xml.
Added configuration of RAT plugin in core/pom.xml to exclude some testing and generated files.
Third bunch of added licenses. The main project, the "core" and "api" modules have only correct license headers.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560554 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 15:14:04 +00:00
Musachy Barroso 560213cbe9 WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560339 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:57:41 +00:00
Musachy Barroso b42a06f505 Update tag description
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560334 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:40:52 +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
Musachy Barroso 8066a53a0b WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560331 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:38:35 +00:00
Musachy Barroso 65cf49a1a1 WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560329 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 17:38:24 +00:00
Musachy Barroso bf1fc42345 WW-2070 Add an object browser to the debugging interceptor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560261 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 14:58:05 +00:00
René Gielen 0875a59f33 WW-2007:
Fixing problems with generated javascript idetitifiers containing unescaped id parameter value

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560258 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 14:56:11 +00:00
James Holmes 44aeb64064 WW-2064 XHTML checkbox template does not include tooltip consistently
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559849 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 15:16:40 +00:00
Antonio Petrelli cbe136ab09 WW-2049
Second bunch of added licenses.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559604 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 21:01:25 +00:00
James Holmes 3d9f578992 WW-1911 File Upload: content-type validation fails when no file is uploaded
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559307 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 03:45:17 +00:00
Antonio Petrelli c2f13be89b WW-2049
Added RAT report to the site.
First bunch of corrected licenses.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559206 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 21:01:18 +00:00
James Holmes ffd0fb693b WW-1938 Bug with multiple s:param tags inside s:url tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@559127 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:33:38 +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 1dd7f9f81a WW-2038 Extra carriage returns in simple theme templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558600 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 04:46:19 +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
James Holmes d1b32bcb89 WW-2051 add additional javascript hooks for optiontransferselect
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 04:13:50 +00:00
Antonio Petrelli aeead6c254 WW-1724
Added code to Struts 2 showcase to show that the content type is present even with a FreeMarker result, i.e. with a FreeMarker layout page.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558101 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:32:02 +00:00
James Holmes c8fbc2e2d3 Update FreeMarker dependency to 2.3.10.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@558080 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 18:24:59 +00:00
James Holmes 26c18bdd4d Update Struts 2.1 to use FreeMarker 2.3.9.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557999 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 14:02:29 +00:00
James Holmes 6ceb8ed0fa Call toString() on itemKey instead of the output of stack.findValue().
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557737 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 19:00:27 +00:00
James Holmes 83b583e5af Fix test failures caused by the fix for WW-1887. FreeMarker was complaining about the toString() call when it was applied to the value created by this tag: <#assign itemKey = ''/>.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557726 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 18:40:16 +00:00
James Holmes 6f5b8d1844 Update to conform to the Struts 2 DTD instead of the XWork DTD.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557689 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:02:15 +00:00
James Holmes a8a7008068 WW-1887 struts template/simple/select.ftl error/fix
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557647 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 14:51:31 +00:00
James Holmes c33de8671b More doc fixes.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557620 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 13:44:03 +00:00
James Holmes 8ca5854fd6 Fix some typos and bad english.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557616 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 13:35:21 +00:00
Nils-Helge Garli 11a6bbbfde WW-1645 Refactored portlet support into a plugin. Some missing files from last commit.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@557568 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:56:57 +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