Commit Graph

3046 Commits

Author SHA1 Message Date
Lukasz Lenart e6ca077e00 WW-3891 adds support for expression in specifying min and max constraints
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1399395 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 19:09:07 +00:00
Lukasz Lenart a25315b3d3 WW-3902 adds cache for BeanInfo to improve performance and avoid dead locks
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1399375 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 18:33:22 +00:00
Johannes Geppert ba0f11964b WW-3899 Person Manager Example in Struts2 Showcase does not work
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1398832 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 14:54:44 +00:00
Lukasz Lenart 964a01b4a6 WW-3881 allows new html input types
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397712 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 20:07:22 +00:00
Lukasz Lenart b7d2e1f015 WW-2537 adds usage of generics and some minor code improvements
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397705 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:56:30 +00:00
Lukasz Lenart 967b424dc8 WW-3896 Solves problem with reading result code from HttpHeaders
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397694 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:12:17 +00:00
Johannes Geppert 506639be65 WW-3897 Refactor the Struts2 REST Showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397692 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:04:04 +00:00
Lukasz Lenart a33e2dc2ef WW-3888 updates documentation regarding expression evaluation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397257 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 19:40:52 +00:00
Lukasz Lenart 939cd00168 WW-3888 updates documentation regarding expression evaluation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397252 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 19:32:48 +00:00
Lukasz Lenart db96a28977 WW-3888 adds support for expression in specifying min and max constraints
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397242 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 19:20:22 +00:00
Lukasz Lenart 7cd454ac96 WW-3609 changes how problem report is rendered and in case of exception sends simple error message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397027 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 12:55:53 +00:00
Lukasz Lenart 6e9bb24653 WW-3609 adds more logging when exception occurred
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1396976 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 10:25:36 +00:00
Lukasz Lenart f72cdce588 WW-3425 Improves if tests to simple test just one time
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1396971 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 10:06:26 +00:00
Lukasz Lenart 18ea7a70ef WW-3885 Updates regexp to improves e-mail validation support
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1396967 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 10:00:59 +00:00
Lukasz Lenart 2a833db4b2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394507 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:29:31 +00:00
Lukasz Lenart 755caae35d [maven-release-plugin] prepare release STRUTS_2_3_5
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394505 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:29:07 +00:00
Lukasz Lenart 497c6616cc WW-3884 upgrades version of archetypes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394499 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:12:40 +00:00
Lukasz Lenart 08fa6a2cf2 WW-3884 changes site target
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394497 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:11:24 +00:00
Lukasz Lenart 2784e24fe3 WW-3872 adds Tiles support to portlet example app
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394440 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 10:54:36 +00:00
Lukasz Lenart b83b8586e0 WW-3865 rollbacks changes to TokenInterceptor applied with WW-3582 and adds new method handleToken() to allow in different way lock session object
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394422 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 09:35:28 +00:00
Lukasz Lenart 3cf58aa002 WW-3880 adds logging when parameter wasn't accepted
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1390696 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:45:24 +00:00
Lukasz Lenart 2cf6cf5bcf WW-3879 Changes logic when the location is path and when full url address
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1390692 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:27:41 +00:00
Johannes Geppert b84a1a9e9c WW-388: Update UI tags in FreeMarker to allow new HTML input types
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1389534 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:43:44 +00:00
Lukasz Lenart 76ff5832b5 WW-3876 adds additional test cases for NumberConverter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1385022 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 06:50:08 +00:00
Lukasz Lenart 3a03c3d735 WW-3811 adds a new constant struts.handle.exception to control when Dispatcher should handle exception and when rethrow it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384108 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:18:45 +00:00
Lukasz Lenart 3547865941 WW-3840 corrects LOG and reduce log level to debug inside cleanUp() method
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384107 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:14:23 +00:00
Lukasz Lenart 95f94ccb64 WW-3144 Adds additional test case to prove that there no problem
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384088 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 19:11:29 +00:00
Lukasz Lenart 075f5bdae4 Sanitise input variables
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1383793 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:17:24 +00:00
Lukasz Lenart 07a3f39356 WW-2749 adds missing <version/> tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381889 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:53:33 +00:00
Lukasz Lenart 9d33c74b02 WW-2749 adds support for Tiles in Porlets as a dedicated plugin with new PortletTilesResult
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381887 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:48:49 +00:00
Lukasz Lenart 73494b036f WW-3875 extracts static util methods into separated class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381599 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 13:44:33 +00:00
Lukasz Lenart a7161ca7d7 WW-3644 changes support for expression as a dynamic attribute to parse only values enclosed in %{ and }
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381585 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:54:48 +00:00
Lukasz Lenart 62260e0096 WW-3344 corrects mistake in an example
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381573 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:30:24 +00:00
Lukasz Lenart 328ae40cf8 WW-3874 merges AnnotationTools into AnnotationUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381560 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:25:26 +00:00
Lukasz Lenart edf2f4a302 WW-3870 Adds package inheritance in plugins
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1380129 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 05:45:21 +00:00
Lukasz Lenart 58f6fc4666 WW-3231 adds cssStyle and cssClass attributes to generated <label/> tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379561 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 19:40:40 +00:00
Lukasz Lenart 5cadb2e544 WW-3177 adds better German translation of the error message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379461 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:09:27 +00:00
Lukasz Lenart 5d68b267b5 WW-3177 adds better way to handle error messages when an exception occurs, adds support for I18N to translate exceptions and adds default error messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:06:00 +00:00
Lukasz Lenart ade5c99a07 WW-3866 adds more power to users to check if parameter name can be accepted, adds insecure params test case and cleans up code a bit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379386 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 09:43:17 +00:00
Johannes Geppert 6ecdb5e353 WW-3864: struts2-archetype-blank compile error
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1376638 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 18:30:10 +00:00
Lukasz Lenart 255b63486c WW-3848 adds warning message that the FilterDispatcher is deprecated and can produce errors when used with other web stacks
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1375926 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 07:58:38 +00:00
René Gielen 80e03182d6 WW-3860
Restrict accepted parameter name length
Thanks to Johno Crawford for the patch.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1368841 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 09:16:47 +00:00
René Gielen a1ca307981 WW-3858
Decouple token names from their respective session attribute names

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1368827 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 08:03:12 +00:00
Lukasz Lenart ec070ff937 WW-3857 changes RestActionMapper to return null if it cannot determine action mapping, adds comment to API
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 07:11:09 +00:00
Johannes Geppert 828f08ee3a WW-3856 Archetypes are missing some files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367769 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:47:43 +00:00
Lukasz Lenart 77ce77d342 Solves problem with rest-showcase app and adds additional test to proof how excludePackages works
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367763 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:38:52 +00:00
Johannes Geppert 5fa0e9a297 WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367168 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 16:51:53 +00:00
Johannes Geppert 7bc888f554 WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1366934 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 20:10:06 +00:00
Johannes Geppert eadc86b88d WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1366884 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 18:23:06 +00:00
Lukasz Lenart 0784a45cb2 WW-3414 removes ObjectFactory as a field and uses ActionContext to retrieve instance of ObjectFactory to allow serialize instances of XWorkList
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:23:33 +00:00