Commit Graph

2310 Commits

Author SHA1 Message Date
Musachy Barroso 28fd86aa16 WW-2951 Add a default "name" to form, when it is not set (same as the "id")
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766376 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 18:48:47 +00:00
Musachy Barroso 149d112b1d WW-3075 StrutsPrepareAndExecuteFilter accesses request parameters before setting request encoding
patch provided by Roman Shevchenko

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766360 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 17:23:53 +00:00
Musachy Barroso 41fbefa44f WW-3000 force StrutsPrepareAndExecuteFilter to always lookup action mapping, to prevent infinite recursion when the filter is applied to FORWARD
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766357 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 17:09:01 +00:00
Musachy Barroso aed6555d88 add bundles to default modules
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766105 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:05:46 +00:00
Musachy Barroso b7778152e7 WW-308 PackageBasedActionConfigBuilder.buildUrlSet() does not find actions when ReloadingClassLoader is used
Patch from Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766104 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:03:05 +00:00
Musachy Barroso b5a4d4df29 add bundles to assembly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766074 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 16:24:46 +00:00
Musachy Barroso 3b4961066b Fix bundles
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765784 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 22:01:56 +00:00
Musachy Barroso 71ceffdd95 move demo bundle to trunk
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765777 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 21:47:17 +00:00
Musachy Barroso 5a3e61c67f move admin bundle to trunk
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765776 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 21:46:33 +00:00
Musachy Barroso f444a8601a Add OSGi bundles dir
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765775 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 21:43:24 +00:00
Musachy Barroso c0f69392df Add struts 1 link. make links mor readable
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765292 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 18:12:12 +00:00
Musachy Barroso 481c1b83d4 Move OSGi plugin to trunk from the sandbox, fix assembly descriptors
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 14:32:48 +00:00
Musachy Barroso cf37766728 Move the OSGi plugin to trunk, from the sandbox
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765209 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 14:15:55 +00:00
Musachy Barroso a39dd7d145 add OVal plugin to assembly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765206 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 14:07:56 +00:00
Musachy Barroso 57a03379d9 update OVal pom
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765196 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 13:43:15 +00:00
Musachy Barroso c1e05a3585 Rename OVal plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765192 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 13:38:59 +00:00
Musachy Barroso 7887ffd30a Move the OVal plugin to trunk, from the sandbox
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@765189 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 13:36:50 +00:00
Musachy Barroso bd09bac0b0 WW-3083 fix how packages and actions are scanned for annotations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@764310 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:16:43 +00:00
Musachy Barroso 5089d17588 Lower log level. Patch from Lukasz Racon
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@763792 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 20:30:06 +00:00
Musachy Barroso 096e0dafd3 Remove line setting ServletContext into ActionContext (not needed)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@763229 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 13:00:09 +00:00
Musachy Barroso 0851ba55d8 Make @Action available for methods only. Update plugin xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@762877 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:58:19 +00:00
Musachy Barroso 5eb6a30c4a WW-3076 Add an "order" attribute to the "struts" configuration element
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@762875 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:56:30 +00:00
Musachy Barroso 081d136083 Use ClassLoaderInterface for resource finding and class loading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@762186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 23:45:49 +00:00
Musachy Barroso 6a7808325c Fix import of StringEscapeUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@761694 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 14:31:59 +00:00
Musachy Barroso 2b100aaf19 WW-3026 Log exceptions when initialization fails
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@761381 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:12:19 +00:00
Musachy Barroso 1e8e03611a WW-3071 API adjustment: cannot override DefaultResultMapBuilder.createResultConfig due to limited DefaultResultMapBuilder.ResultInfo visibility
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@761314 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 14:41:57 +00:00
Musachy Barroso f0d11d7c1d WW-3068 Make ExecAndWait interceptor create a FreeMarkerResult and use it to render the temporary page, instead of adding a fake result to the config (which causes an exception)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760997 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:20:01 +00:00
Musachy Barroso a880ec036e WW-2367 Call converter in select tag values
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760523 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 16:57:56 +00:00
Musachy Barroso a22db3e117 WW-2996 Fix emory Leak when SlashesInActionNames is enabled and wildcards are used in actionnames
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760103 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 18:57:28 +00:00
Musachy Barroso cc39485416 WW-3067 Add a configuration constant to turn on/off the logging of missing properties by OGNL
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760099 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 18:48:38 +00:00
Musachy Barroso 6a48be21dd WW-3067 Add a configuration constant to turn on/off the logging of missing properties by OGNL
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760071 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:58:42 +00:00
Musachy Barroso 2f3deb06b2 XW-620 Cleanup all ThreadLocal references on context shutdown
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@759279 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:40:48 +00:00
Musachy Barroso 4b77bc27b0 WW-3054 Broken FreeMarker template for double validation. Test added.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@759162 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 14:49:39 +00:00
Nils-Helge Garli 6ac190693f WW-2997 MultiPart parameters was not passed to the action mapping lookup.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@759140 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 13:51:52 +00:00
Musachy Barroso 50ee5556b4 WW-2850 paramsPrepareParams stack should execute checkbox interceptor earlier
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@759137 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 13:47:22 +00:00
Nils-Helge Garli a1388bcfb3 WW-2955 Added PortletConfigAware interface.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@759073 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 09:40:17 +00:00
Musachy Barroso f416924773 Update failing tests (update Easymock expected method calls)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@758299 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:14:17 +00:00
Wesley Wannemacher c127e0a150 WW-3045 fixing compile errors from removing TextUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@758298 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:11:24 +00:00
Musachy Barroso 444efd988c Fix failing test, escaping "/" in javascript is recommended but not required by the spec
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@758287 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 14:58:53 +00:00
Musachy Barroso 7ca2ad4340 WW-3045 Replace TextUtils String methods. Add direct dependency to core.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@758259 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 13:52:03 +00:00
Musachy Barroso 854426215a WW-3045 Remove html encode method from StrutsUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@758258 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 13:50:03 +00:00
Wesley Wannemacher 05a8b23a92 WW-3045 fixing compile errors from removing TextUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@757842 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 15:22:40 +00:00
Wesley Wannemacher 1057e64778 WW-3045 fixing compile errors from removing TextUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@757834 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 15:14:07 +00:00
Wesley Wannemacher 0573be6e12 WW-3045 fixing compile errors from removing TextUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@757826 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 14:53:29 +00:00
Musachy Barroso 4eb444806e Removed unused constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@756478 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 14:19:46 +00:00
Musachy Barroso 107f9c58a1 Use StringEscapeUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@756461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 13:40:51 +00:00
Musachy Barroso f815fe9648 WW-3051 Throw exceptions when an EL expression fails due to an exception or because a property is missing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@756301 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:03:03 +00:00
René Gielen 41e6fd0aad WW-3050:
- make Spring dependency versions consistent
- added toplevel struts2.springPlatformVersion property
- upgraded deps to 2.5.6

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@756291 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:33:44 +00:00
René Gielen 751b92ea7d WW-3050:
- make Spring dependency versions consistent
- added toplevel struts2.springPlatformVersion property
- upgraded deps to 2.5.6

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@756289 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:16:45 +00:00
Musachy Barroso 30c95e8129 WW-3044 Replace code by similar code in commons lang
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755679 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:00:45 +00:00