Commit Graph

3295 Commits

Author SHA1 Message Date
Lukasz Lenart 26728639ec WW-3623 Extends id generation logic to support case when tag doesn't have id, key nor name defined and some generics fix
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485592 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 06:31:48 +00:00
Lukasz Lenart 46e0da8058 WW-3689 Adds synchronized block with global lock to avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485576 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 05:34:19 +00:00
Lukasz Lenart d72ae0cffa WW-4071 Changes interface a bit after review
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485311 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 17:51:40 +00:00
Lukasz Lenart 07f97efcfd WW-4071 Adds some comments about the supported *Aware interfaces
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485153 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 11:26:13 +00:00
Lukasz Lenart 6c5b9adc8a WW-4071 Adds new ValidationErrorAware interface to allow notify action about action/field errors
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485149 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 11:10:29 +00:00
Lukasz Lenart e5754488c0 Adds proper JavaDoc comment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485146 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 10:46:33 +00:00
Lukasz Lenart ce1530b280 WW-3958 Reverts cast to String to satisfy JDK7
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485066 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 05:20:45 +00:00
Lukasz Lenart 1c5b931cfb WW-3958 Updates Apache Felix and adds option to cooperate with Felix integrated in Glassfish
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484815 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 14:14:03 +00:00
Lukasz Lenart 7df4af2deb WW-3676 Uses simple toString() for non-null objects to support other types than String and Integer
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484461 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 12:59:25 +00:00
Lukasz Lenart 01d979b039 WW-4070 Removes support for translating project to JDK4
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484447 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 12:39:31 +00:00
Lukasz Lenart f3dc60ac8a WW-4021 Cleans up poms
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484384 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 07:29:24 +00:00
Lukasz Lenart 150088f79d WW-4020 Upgrades commons-logging into the latest 1.1.2 version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484340 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 19:21:36 +00:00
Lukasz Lenart 294d380398 WW-4068 Extracts method to accept parameter names to allow easier overriding
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483950 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 18:58:39 +00:00
Lukasz Lenart 7caf810099 WW-4028 Extends ActionInvocation interface to support serialisation and deserialisation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483773 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 12:38:42 +00:00
Lukasz Lenart 57ee122ab8 WW-4045 Reduces code duplication as FileManager can handle nulls
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483700 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 09:00:09 +00:00
Lukasz Lenart 8d2c5ce474 WW-4067 Skips package reloading to avoid double initialisation of actions, interceptors, and so on
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483648 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 05:24:39 +00:00
Lukasz Lenart 64328943bd Configures logging
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483512 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:11:03 +00:00
Lukasz Lenart bcaa26597e WW-4057 Updates validation section to reflect changes made in validators
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1480907 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 07:57:07 +00:00
Lukasz Lenart 2580daa903 WW-4056 Changes case of requiredPosition getter to match tag attribute definition
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1480273 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 13:46:05 +00:00
Lukasz Lenart 369063406d Re-formats code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1476064 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 06:32:25 +00:00
Lukasz Lenart 143fa76ddb Changes log levels to be more realistic
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1476063 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 06:27:17 +00:00
Lukasz Lenart 944b163887 WW-4058 Adds new method to cleanup after Dispatcher initialisation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1476062 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 06:24:11 +00:00
René Gielen b9636fd721 WW-4058
- use remove rather than set(null) for cleanup

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1475841 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 16:24:16 +00:00
Lukasz Lenart e2c26e3f74 WW-4058 Adds cleanup of ContainerHolder
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1475643 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 06:34:16 +00:00
Lukasz Lenart ab70a51baf WW-4048 Solves problem with instating a class and adds additional test
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1469245 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 09:31:24 +00:00
Lukasz Lenart f5464877a0 WW-4038 Solves a bug with struts.convention.action.includeJars
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1469182 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 06:20:37 +00:00
Lukasz Lenart 8cef213cec WW-4046 Solves failing test and uses ActionContext to create validators
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1469181 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 06:19:52 +00:00
Maurizio Cucchiara 2ce8c73d8e Default value is 'none'
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1468833 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 11:02:18 +00:00
Maurizio Cucchiara ced6f3568c Corrected typo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1468832 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 11:00:27 +00:00
Maurizio Cucchiara 791665dd2a Fixed broken tests
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1466402 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 09:33:04 +00:00
Maurizio Cucchiara 1d64a3e75d Used the commons library api where possible
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1466100 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 16:19:50 +00:00
Lukasz Lenart 23bd008add WW-4039 Solves problem with user defined logger factory wasn't picked up
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1465538 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 05:42:10 +00:00
Maurizio Cucchiara 341140426c Updated commons-fileupload to the latest version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1465025 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 16:21:50 +00:00
Christian Grobmeier 2d02e2c7ae javadocs for CookiesAware
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1463871 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 08:13:06 +00:00
Christian Grobmeier 4db60a88a9 typo in docs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1463865 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 07:59:54 +00:00
Lukasz Lenart e82957c5eb [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1462299 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:52:33 +00:00
Lukasz Lenart 07fca85b08 [maven-release-plugin] prepare release STRUTS_2_3_14
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1462297 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:51:02 +00:00
Lukasz Lenart a1e8c628f5 WW-4022 Updates version of archetypes to match release version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1462292 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:21:52 +00:00
Lukasz Lenart 3d19149866 WW-4027 Changes app context to match archetype
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461961 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 06:33:38 +00:00
Maurizio Cucchiara d1635c5c9e minor change: adjusted indentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461735 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:33:18 +00:00
Maurizio Cucchiara 4eee1f4747 WW-4031 - Missing log4j.properties inside convention and blank app archetypes (placed log4j file in the right dir)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461733 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:32:06 +00:00
Maurizio Cucchiara e5a217a891 WW-4031 - Missing log4j.properties inside convention and blank app archetypes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461711 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:02:28 +00:00
Maurizio Cucchiara 90cd4fc717 WW-4030 - Blank, Convention and Starter archetype contains a wrong path
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461694 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 16:25:56 +00:00
Christian Grobmeier aa991b14b0 WW-4029: do not print stacktraces when an optional class could not be loaded
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1461544 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 12:05:52 +00:00
Lukasz Lenart b9ebe65738 WW-4026 Improves logging
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460986 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:27:47 +00:00
Lukasz Lenart 3bf95951bc WW-4025 Solves problem with NPE in TextParseUtil
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460985 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:21:53 +00:00
Lukasz Lenart 3ae920e5a3 WW-2537 Cleans up code and adds usage of generics
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460983 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:14:18 +00:00
Lukasz Lenart 00ce58a3d6 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460302 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:58:59 +00:00
Lukasz Lenart 8ca0e87d35 [maven-release-plugin] prepare release STRUTS_2_3_13
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460299 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:57:28 +00:00
Lukasz Lenart 01fd6750a0 WW-4022 Updates version of archetypes to match release version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1460292 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:40:49 +00:00