Commit Graph

778 Commits

Author SHA1 Message Date
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
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
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 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 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 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 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
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
Lukasz Lenart 79b4a4d285 WW-3851 adds FileManager dependency
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364073 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:36:57 +00:00
Lukasz Lenart f8a30084d4 WW-3819 moves inject of reload property directly into FileManager
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1357481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 07:31:14 +00:00
Lukasz Lenart 09adba0f66 WW-3818 - extracts JBoss specific code into JBossFileManager and some code clean ups
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1352301 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 20:27:39 +00:00
Lukasz Lenart 6f76303fa7 WW-3834 adds missing @Inject annotations to enable OVal support for JPA
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1345102 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 12:15:57 +00:00
Lukasz Lenart e3b66874d6 WW-3831 adds the same behaviour as in ServletUrlRenderer to render dynamic action in URL tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344990 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 05:42:55 +00:00
Lukasz Lenart fdb93f691d WW-3826 adds new StrutsPortletTestCase to simplify testing actions to be used in portlet environment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344572 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 05:59:06 +00:00
Lukasz Lenart bfa7df79b6 WW-3802 moves clean up code to implementation of MultiPartRequest interface
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338715 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 14:10:27 +00:00
Lukasz Lenart f21793d920 WW-3820 changes implementation of getInstanceNames(Class<?> type) to return empty set instead of null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338660 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:42:38 +00:00
Lukasz Lenart fca4405004 WW-3817 introduces FileManagerFactory with default implementation and refactors all the code to use the new approach
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338643 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:05:50 +00:00
Johannes Geppert 8ca2735e94 WW-3815: Dispatching after action phase renders with different stack/TextProvider
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338360 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:42:11 +00:00
Lukasz Lenart 81b70737a1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337583 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 16:06:55 +00:00
Lukasz Lenart 4e61119eab [maven-release-plugin] prepare release STRUTS_2_3_4
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337581 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 16:06:29 +00:00
Lukasz Lenart 517de353c1 WW-3763 adds setter to inject missing UrlHelper
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1336486 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 05:54:36 +00:00
Lukasz Lenart 0b2069dba0 WW-3803 solves problem with package name contains the package locator
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1328527 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:21:40 +00:00
Lukasz Lenart 5a9048065f WW-3282 Changes logic to add namespace only once when building urls and cleans up code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1327601 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 18:13:57 +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 abd628ea09 WW-3442 adds additional initialisation of HttpSession
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324893 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:49:35 +00:00
Lukasz Lenart 4f07559dc1 WW-3431 Solves problem with array initialization
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324871 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:13:42 +00:00
Lukasz Lenart 5c15306366 WW-3442 adds Session initialisation method to solve problem with missing session and allow to initialise session on its own in test cases
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311951 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:33:51 +00:00
Lukasz Lenart ecc0e56440 WW-3432 pushes messages variables to allow customize validation messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311945 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:29:09 +00:00
Lukasz Lenart b90fe0996f WW-3418 solves problem with excludePackages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311931 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:04:57 +00:00
Lukasz Lenart 2dacf99394 Removes strange file
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311908 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:28:32 +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 7eb38fdb66 WW-3636 adds className parameter to @Action annotation, can be useful when used with Spring Framework to instantiate actions
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1309089 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 18:34:30 +00:00
Lukasz Lenart c71a8dfd2d WW-3780 makes JSON plugin more extendable
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307897 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 20:39:53 +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 b5a58f1b90 Improves config-browser plugin, cleanups code, adds support for Convention plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302806 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 09:17:02 +00:00
Lukasz Lenart 98af0ac15f WW-3774 - initialize portlet mocks only in case if portlet dependencies are available
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1301531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:06:25 +00:00
Lukasz Lenart f070d7e830 WW-3769 adds missing line of code to generate namespace without explicit specifying it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297994 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:34:38 +00:00
René Gielen 20689c0cf7 WW-3767:
- added support for servlet container JNDI lookup key java:comp/env/BeanManager
- added support for custom configuration constant to override standard lookup

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1294420 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:35:04 +00:00
Lukasz Lenart 9abf8dd346 WW-3763 restores the old behaviour of Portlet plugin, to allow use portlets in standalone application as well
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 08:14:55 +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
Lukasz Lenart 872a7b0b6d WW-3733 - adds missing PortletContext to ActionContext to avoid NPE during PortletResult initialisation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1226265 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 17:29:25 +00:00