Johannes Geppert
5d86c0e5c9
Minor code improvement's in the struts json plugin
...
- Use Java 7 features like diamond operator
- Improve some logging message
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-08 20:17:45 +02:00
Johannes Geppert
27bfb22df7
WW-4510 Upgrade spring plugin dependencies to spring version 4.x
...
- Struts Mocks in JSON and JFreechart plugin needs to be implement the new Spring4 mocks api
2015-06-08 19:09:09 +02:00
Johannes Geppert
8e8771153a
WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
...
- Use log4j2 placeholder for logging messages and optimize logging a bit
2015-05-25 21:25:50 +02:00
Johannes Geppert
95805e54f7
WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
...
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
aronshen
b888275803
change findBaseAccessor method
...
in hibernate4.3.7,because javassist3.18.1's class name generate rule is '_$$_jvst'+...
2015-01-20 11:54:10 +08:00
Lukasz Lenart
da4a22078a
WW-4413 Improves JSON interceptor to handle JSON arrays
2014-12-29 11:29:08 +01:00
Lukasz Lenart
5f2898eadf
Cleans up Maven generated website
2014-12-02 12:41:06 +01:00
Aleksandr Mashchenko
61cffe68fe
improved interceptor that accepts and maps JSON array
2014-10-13 20:07:07 +03:00
Lukasz Lenart
120830f1ac
WW-4301 Adds additional use-case to proof the problem exists
2014-08-07 08:43:42 +02:00
Lukasz Lenart
a2d4bdd8cf
WW-4185 makes default json date format configurable
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1556522 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 13:02:59 +00:00
Lukasz Lenart
e73cc3fb09
WW-4271 Improves pattern logging in JSONUtil
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1556509 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 12:03:18 +00:00
Lukasz Lenart
3c3168bff4
WW-4041 Uses the latest Commons Lang3 3.2 version and escapeJson method to solve problem with escaping single quote
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1554923 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 21:27:30 +00:00
Christian Grobmeier
5e3e793576
removed unused site folder and site.xml
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart
9f9f8eb045
Modifies expected results slightly
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519925 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 07:36:00 +00:00
Lukasz Lenart
48a8dc5371
Modifies assertEquals on result to don't depend on order of validations
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519918 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 06:51:05 +00:00
Lukasz Lenart
6cfc28b359
WW-3964 Defines DEFAULT_PARAM static field to reduce noise in the logs
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507951 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 06:40:10 +00:00
Lukasz Lenart
eb41dc6ea6
Removes unneeded validation annotation
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1499265 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 08:44:46 +00:00
Lukasz Lenart
eb2a9eb8ff
WW-3593 Adds missing html files
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +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
32ea57d925
Solves problem with possible NPE when key is null - https://github.com/apache/struts2/pull/4
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1436290 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 11:37:16 +00:00
Lukasz Lenart
a4f1a77b2d
WW-3863 Allows to define encoding per result
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1421740 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 08:53:49 +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
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
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
970251ff95
Update to current 2.3 DTD
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1221225 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:22:28 +00:00
Maurizio Cucchiara
d0bdf09e7d
WW-3701 - Wrong parsing of number with exponents
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1200422 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 16:51:46 +00:00
Maurizio Cucchiara
eb17fbb3a0
Reverted redundant cast (tests failed)
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1200412 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 16:24:27 +00:00
Maurizio Cucchiara
6aa0509b33
Removed redundant cast and unnecessary boxing
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1200405 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 16:18:27 +00:00
Maurizio Cucchiara
29aae5eb81
WW-3694 - JSONResult - buildSMDObject method is never called internally
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1189257 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 15:06:17 +00:00
Johannes Geppert
bdf0f0da81
WW-3670: JSONWriter cannot load CGLIB classes if its JAR is in SharedLib
...
Patch provided by Bruno Borges
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1161630 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 16:30:49 +00:00
Lukasz Lenart
4e06167fdb
Moves JSONValidationInterceptor into JSON plugin to keep core consistent
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1145897 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 07:52:54 +00:00
John Lindal
cfa0c91b19
WW-3489 if excludeNullProperties, ignore nulls in maps
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1129976 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 00:06:22 +00:00
John Lindal
3d1120a607
WW-3635 return application/json instead of application/json-rpc
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1129873 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 19:36:53 +00:00
John Lindal
0f2a57f94b
WW-3638 additional unit test for multi-level array in includeProperties
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1129864 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 19:24:27 +00:00
Johannes Geppert
1219e49516
WW-3619: Check LogLevel for all debug, info and warning messages
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1099157 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 17:53:55 +00:00
Maurizio Cucchiara
c71fc60127
Restored subversion properties
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1081298 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 09:58:49 +00:00
Maurizio Cucchiara
aa8dfb480e
WW-3524 - Added field bridge support
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1079368 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 14:24:16 +00:00
Lukasz Lenart
3db5298097
Removes shaded commons
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076544 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:19:37 +00:00
John Lindal
a98be307b4
WW-3514 remove JSONUtil.PATTERN_PREFIX; add JSONInterceptor.setExcludeWildcards()
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1070550 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:18:28 +00:00
John Lindal
5caf6f976d
WW-3570 fix parameter name
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1070019 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 03:48:08 +00:00
John Lindal
331b42cdcf
WW-3570 slot for debugging information in RPCResponse
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068552 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:23:12 +00:00
John Lindal
984a7faad1
WW-3514 fix/enhance support for include/exclude parameters
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066613 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 20:28:20 +00:00
John Lindal
afdd100ec8
WW-3498 JSONResult should serialize model, just like JSONInterceptor injects into model
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065880 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 01:22:39 +00:00
John Lindal
62e78be60f
WW-3498 Inject values into top of stack (model or action) instead of always using action. This does not break backward compatibility because nobody could use a model before this patch.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065743 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:16:38 +00:00
John Lindal
94629009bb
WW-3546
...
provide API for overriding devMode per request, and check for override where appropriate
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065735 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:00:58 +00:00
John Lindal
109b18ca50
WW-3525 JSONInterceptor extends AbstractInterceptor
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065348 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 19:00:06 +00:00
Maurizio Cucchiara
1de216647a
WW-3554 Tomcat requires JsonPlugin.tld to be in META-INF directory
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1056225 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 09:26:10 +00:00
Maurizio Cucchiara
9515fa8b19
WW-3519 Added encoding type to prevent encoding errors
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1055126 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:14:46 +00:00
Lukasz Lenart
c6149bb21f
Solved WW-3509 - JSONResult.setIncludeProperties() constructs incorrect patterns
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1026661 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 19:01:25 +00:00