Commit Graph

1356 Commits

Author SHA1 Message Date
Lukasz Lenart 0d8f4d43bd WW-3804 adds support of dynamic attributes to <s:radio/> tag and extends support for dynamic attributes with expression evaluation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1328526 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:19:41 +00:00
Lukasz Lenart 73e763faf8 WW-3799 converts FileManager into a bean, adds default implementation and defines new extension point
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326928 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:03:45 +00:00
Lukasz Lenart 73c976a028 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326479 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 04:34:52 +00:00
Lukasz Lenart 6411771bb0 [maven-release-plugin] prepare release STRUTS_2_3_3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326477 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 04:34:13 +00:00
Lukasz Lenart 78ee4b8ba2 WW-3796 Changes logic to set encoding on HttpServletRequest if differs from configured
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324888 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:41:06 +00:00
Lukasz Lenart f064937984 WW-3059 Changes logic to set encoding for XMLHttpRequest type
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324870 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:12:35 +00:00
Maurizio Cucchiara a99dadfebf Update commons lang3 reference
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324674 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 09:42:13 +00:00
Lukasz Lenart a377ce5c40 WW-3173 adds additional test case to proof that there is no error
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311902 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:20:25 +00:00
Lukasz Lenart 7146f389c7 WW-3795 allows specify location as a relative for result type plainText and add possibility to extend class by overriding protected methods
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311895 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:07:16 +00:00
Lukasz Lenart 73da07e6af WW-3793 corrects name of PlainText Result in documentation to be plainText and not plaintext
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311872 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 17:15:38 +00:00
Lukasz Lenart cbb55e9793 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310831 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:28:23 +00:00
Lukasz Lenart a903a80600 [maven-release-plugin] prepare release STRUTS_2_3_2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310829 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:27:47 +00:00
Lukasz Lenart aef1c6aaf6 WW-3174 additional test case for Dynamic Attributes support
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310417 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:56:45 +00:00
Lukasz Lenart 3cd48592dd WW-3174 adds logic to support dynamic attributes in tags used with FreeMarker templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310221 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 08:17:00 +00:00
Lukasz Lenart 4b9445de80 WW-3779 adds description of missing extension points and removes some code duplications
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307906 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 21:22:04 +00:00
Lukasz Lenart 35b84844d9 WW-3750 reduces scope of cashing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307614 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:04:33 +00:00
Lukasz Lenart c52cd98c9e WW-3777 converts UrlHelper into an interface with default implementation, cleanups code and adds support for generics
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1303298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 07:11:29 +00:00
Lukasz Lenart f01f6e3cfe Merges Struts 2 ClassLoaderUtils into XWork 2 ClassLoaderUtil
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302821 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 10:17:37 +00:00
Lukasz Lenart 9831ecf543 Adds better way to handle JavaScript injection into request parameters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302803 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 09:10:37 +00:00
Lukasz Lenart 06d2aa4981 WW-3773 recreates HttpSession and SessionMap if HttpSession doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1301989 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 20:08:37 +00:00
Lukasz Lenart da85bb6abd WW-3631 - adds additional excluded params to avoid session / request / response tempering
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297521 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 15:24:08 +00:00
Lukasz Lenart 9bd53cc212 WW-3762 - extracts one huge converter into smaller classes and implements better conversion mechanism for collections
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297347 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 06:26:38 +00:00
Lukasz Lenart 26ed57b11a WW-3748 s:bean shouldn't load class, just delegate that to ObjectFactory
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1295146 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 15:14:22 +00:00
Lukasz Lenart 5aa97c1b4b WW-3753 - adheres AnnotationActionValidatorManager to ActionValidatorManager interface's contract
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293795 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:52:12 +00:00
Lukasz Lenart a9b26ca87f WW-3761 - improves loading templates from file path
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292722 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:28:13 +00:00
Lukasz Lenart 6ec3d2a8b6 WW-3758 - upgrade commons-lang to version 3.1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292705 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:40:53 +00:00
Johannes Geppert eafd29bea7 WW-3750: ScopesHashModel calls OgnlValueStack.findValue too many times during rendering freemarker templates
Patch provided by Pelladi Gabor

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1241573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:41:45 +00:00
Johannes Geppert 261c5fb996 WW-3736: Client Validation is broken for Struts2 themes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1240312 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:44:51 +00:00
Maurizio Cucchiara b5eebb9842 WW-3747 - regular expressions in combination with advanced wildcards don't work
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1237092 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 16:40:38 +00:00
Lukasz Lenart 248d0f5879 WW-3284 - adds new Number tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1225353 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 21:47:20 +00:00
Lukasz Lenart 9cad25f258 Merges changes from 2.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1225038 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 22:34:37 +00:00
Lukasz Lenart 659a688d25 Improves adding tokens to collection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1215224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 17:02:42 +00:00
Lukasz Lenart c6af386d57 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1212123 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:09:17 +00:00
Lukasz Lenart 133ca637f0 [maven-release-plugin] prepare release STRUTS_2_3_1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1212121 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:05:31 +00:00
Johannes Geppert 19391d3b7f WW-2357: doubleEmptyOption, doubleHeaderKey and doubleHeaderValue ignored in doubleselect tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1211074 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 19:57:35 +00:00
Wesley Wannemacher b178a6a6d4 WW-3712
- added css.ftl to the radiomap.ftl template
- added s:radio to showcase to make it easier to test s:radio

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1211023 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 17:01:50 +00:00
Lukasz Lenart bbfd03dfb5 WW-3687 adds Context Path to the error message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1210360 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 08:31:39 +00:00
Johannes Geppert 380b6df4f7 WW-3708: <s:checkboxlist> UI tag ignores CSS related parameters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1202798 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 17:29:03 +00:00
Maurizio Cucchiara d5cbcfeedc Inline variable assignment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188968 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:24:56 +00:00
Maurizio Cucchiara a51b4eacb7 Removed unused private Log, avoid explicit array creation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188966 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:21:21 +00:00
Maurizio Cucchiara bdc84d2fb1 Code optimization
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188965 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:19:48 +00:00
Maurizio Cucchiara d34eb7adcb WW-3652 - Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs (patch submitted by Jeff Black)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188963 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:14:09 +00:00
Maurizio Cucchiara 2f3a55d0d5 Changed return type to checked conversion
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188962 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:12:56 +00:00
Maurizio Cucchiara bdb24d4eff Replaced while loop with foreach
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188961 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 23:09:53 +00:00
Lukasz Lenart 83b281811d WW-3047 - adds js_script to escape the option label and value
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1181085 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 17:31:07 +00:00
Maurizio Cucchiara 7ddfe6bbda WW-3688 JavaScript URL validator in the FreeMarker template fails many valid URLs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1178333 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 08:35:31 +00:00
Maurizio Cucchiara c4d253688f WW-3682 - replaced deprecaded api calls with direct replacements
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1173248 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 16:51:00 +00:00
Maurizio Cucchiara ad3aae6eba WW-3522 - Template Overriding not work
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1159335 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 18:11:06 +00:00
Maurizio Cucchiara f410fc0cbe * small improvements
* removed duplicate code

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1157393 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 16:58:39 +00:00
Maurizio Cucchiara 127ed05ed6 * small optimizations
* removed duplicate code

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1157359 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 09:27:10 +00:00