Commit Graph

1113 Commits

Author SHA1 Message Date
Musachy Barroso a428f78471 fix xwork reference
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@772764 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 20:33:13 +00:00
Wesley Wannemacher 8db92e0097 WW-3117, no space between attachment and filename, oops, thanks again Dale
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@772264 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 13:52:53 +00:00
Wesley Wannemacher d59d784ef0 anticipating xwork 2.1.4 release, fixing javadoc in StreamResult, WW-3100
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@772175 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 12:27:42 +00:00
Wesley Wannemacher 59c236a583 WW-3117, fixing docs, good catch Dale Newfield
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@772174 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 12:27:12 +00:00
Musachy Barroso 38d0a2f54e WW-2757 Stacks defaultStack & paramsPrepareParamsStack are not synced
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@770438 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 20:40:43 +00:00
Wesley Wannemacher 670c0f31bc WW-3102 minor changes per findbugs analysis
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768855 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 02:09:35 +00:00
Wesley Wannemacher 9d8e0c2826 WW-3100 changing to point to xwork 2.1.3 release in anticipation of struts 2.1.7 release
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768854 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 02:08:17 +00:00
Wesley Wannemacher 0bc49d5b0c added apache headers
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768664 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 06:09:07 +00:00
Wesley Wannemacher 6834ba7a91 WW-3090, patch from Denis Cabasson, having s:url w/o parameters refer back to called action
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 05:45:28 +00:00
René Gielen 0cc39af7b1 WW-3017 - Making it possible to have a configurable list of uri-patterns telling struts not to handle the request
- consistent constant naming

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768544 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 15:09:32 +00:00
René Gielen 85bf223e44 WW-3017 - Making it possible to have a configurable list of uri-patterns telling struts not to handle the request
- applied patch provided by Andreas Joseph Krogh
- made some refactoring to eliminate duplicate code and unneeded method calls
- added integration test

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768529 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 13:49:50 +00:00
Nils-Helge Garli 15ac7fe985 WW-2863 Appending the user's 'onchange' to the default.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768476 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 06:07:58 +00:00
Rainer Hermanns cecc5375d2 WW-2809 doubleselect ignores preselection of a multiple subselect
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@767529 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 14:05:52 +00:00
Wesley Wannemacher 4527907b71 @Override not allowed on interface methods (how did this work before?)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766577 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 05:27:18 +00:00
Wesley Wannemacher 69825466c4 WW-2993, making sure to evaluate attribute
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766574 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 05:02:57 +00:00
Musachy Barroso 2ca83697ff WW-3092 Rename bean from "named-variable" to "namedVariable"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766401 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 22:30:48 +00:00
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 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 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 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 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
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
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 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 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 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 526580cc2d WW-3046 Make "redirect" result support params (passed from <param>), like "redirectAction" does
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755605 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 14:36:33 +00:00
Musachy Barroso 62d9bcfc25 Remove TextUtil(not used)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755412 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:53:14 +00:00
Musachy Barroso 21ccc48d9e WW-3045 Replace TextUtils String methods
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755408 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:42:43 +00:00
Musachy Barroso 120e5a4667 WW-3033 This change rollsback WW-2351. The id should not be change (it break backward compatibility and it is not a good idea), instead the name of the generated function is the one that should be changed
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@754994 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 20:09:51 +00:00
Musachy Barroso 649ce30681 WW-3037 Anchor tag should be able to build URLs like the URL tag does
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@753015 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:00:23 +00:00
Musachy Barroso 148e3a3b39 WW-3032 Set character encoding to UTF-8 for ajax validation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@752628 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 21:31:51 +00:00
Musachy Barroso 730fe82ba1 WW-3032 Set character encoding to UTF-8 for ajax validation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@752623 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 21:25:45 +00:00
Wesley Wannemacher 7a00f156ca We advertise this attribute being available, but we really didn't have it
WW-3031

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@752123 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 14:46:22 +00:00
Musachy Barroso cb9b2e56ae WW-3029 Fix backward compatible problem in the Label tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@751799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 19:28:20 +00:00
René Gielen 703faa0af8 WW-2881 - Generic ActionMapping.param
- applied patch by Mathias Bogaert

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@747124 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 20:15:45 +00:00
René Gielen 50fd30b972 WW-2886 - CookiesAware and CookieInterceptor are not generic
- applied patch by Mathias Bogaert

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@747075 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 16:38:47 +00:00
René Gielen 7cf25fa8d4 WW-2883 StrutsXmlConfigurationProvider generics fix
- applied patch submitted by Mathias Bogaert

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@747073 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 16:36:02 +00:00