Commit Graph

2817 Commits

Author SHA1 Message Date
Lukasz Lenart b39433aaa5 Merge pull request #204 from quaff/master
WW-4910 Align OptGroup with Select
2018-03-16 14:13:21 +01:00
Yasser Zamani c3d8b47828 fix list when not found in stack and so is null
Also add tests for when user has supplied a not iterable list
See also WW-4910
2018-03-16 15:37:30 +03:30
Yasser Zamani 770e4ed81c convert supplied value to list when isn't iterable
when user supply a not iterable value for list in ListUIBean, then convert it to a single member list (instead of a null value as before versions do)
2018-03-16 13:43:55 +03:30
Yasser Zamani a6516a24cb fix two issues for ListUIBean
fix listkey and listvalue when list is not string
fix if statement location for when list is string but not found
2018-03-15 21:26:15 +03:30
Aleksandr Mashchenko 1fcd1aeacf WW-685 Fix getText expression 2018-03-03 00:14:22 +02:00
Aleksandr Mashchenko 34979cf51e WW-685 Add tests 2018-03-02 23:25:58 +02:00
Aleksandr Mashchenko 1b15cfdfc6 WW-685 Add generic type conversion error message 2018-03-02 23:25:35 +02:00
Aleksandr Mashchenko 5b4ae03e75 WW-685 Add class to hold conversion related data 2018-03-02 23:21:34 +02:00
Lukasz Lenart e2c2ea876e [maven-release-plugin] prepare for next development iteration 2018-03-02 13:00:17 +01:00
Lukasz Lenart 1fec084542 [maven-release-plugin] prepare release STRUTS_2_5_16 2018-03-02 12:59:53 +01:00
Yasser Zamani 8d91536b17 fix javadoc to being consistent with WW-3915 changes
See also WW-3915
2018-02-20 17:32:45 +03:30
Yasser Zamani f929673a91 replace sun.net.www.ParseUtil#decode
See also WW-4920
2018-02-17 11:22:24 +03:30
Yasser Zamani 4718dccd1c comment jira issue id and fix a few typos
See also WW-4920
2018-02-16 14:14:21 +03:30
Yasser Zamani 155dff745e fix java.net.JarURLConnection#parseSpecs
See also WW-4920
2018-02-16 14:01:38 +03:30
Lukasz Lenart def4adacd6 [maven-release-plugin] prepare for next development iteration 2018-02-09 09:36:39 +01:00
Lukasz Lenart 2c0facc3aa [maven-release-plugin] prepare release STRUTS_2_5_15 2018-02-09 09:36:18 +01:00
Aleksandr Mashchenko 6ae63d7669 use NumberUtils.isCreatable instead of deprecated NumberUtils.isNumber 2018-02-06 18:22:40 +02:00
Aleksandr Mashchenko dac624431e WW-4915 Replace deprecated commons-lang3 classes (replace StringEscapeUtils.escapeXml with StringEscapeUtils.escapeXml10) 2018-02-05 21:17:42 +02:00
Aleksandr Mashchenko eb6ea76567 WW-4915 Replace deprecated commons-lang3 classes (replace StrSubstitutor) 2018-02-05 21:16:45 +02:00
Aleksandr Mashchenko 478945a0bd WW-4915 Replace deprecated commons-lang3 classes (add commons-text dependency, replace StringEscapeUtils) 2018-02-05 21:15:17 +02:00
Aleksandr Mashchenko eed364fe28 Use managed surefire version in core 2018-02-05 18:39:12 +02:00
Yasser Zamani 20a7b6503f Merge pull request #207 from lukaszlenart/sessionless
WW-4741: Do not create session
2018-01-31 16:48:17 +03:30
Yasser Zamani caeea2145f test not create when no session
See also WW-4741
2018-01-31 13:57:21 +03:30
Yasser Zamani b5cfccace3 test no session but with locale parameter
See also WW-4741
2018-01-31 13:33:44 +03:30
Lukasz Lenart 95a24c87a4 Adds autogenerated file 2018-01-31 07:22:27 +01:00
Lukasz Lenart 92e931d169 WW-4741 Improves tests to cover the new logic 2018-01-31 07:21:53 +01:00
Lukasz Lenart e9a4bcd776 WW-4741 Does not create session if it doesn't exist 2018-01-31 07:21:35 +01:00
Yasser Zamani 9b892cc7fd Merge pull request #206 from lukaszlenart/scan-deeper
WW-4912: scan package-info and class at the same time
2018-01-30 13:17:09 +03:30
Yasser Zamani 8d4194bbf7 allow duplicate in AnnotationUtils.findAnnotations result
See also WW-4912
2018-01-30 12:21:33 +03:30
Yasser Zamani cf71e0f34f add support finding annotations on interfaces and their packages
See also WW-4912
2018-01-30 11:35:16 +03:30
Yasser Zamani 97012c78a9 Merge pull request #189 from lukaszlenart/upgrade-spring
WW-4899: upgrade Spring
2018-01-30 10:47:04 +03:30
zalsaeed f34cf78ae3 Initial test dedicated for the DefaultUnknownHandlerManager (#205)
* Initial test dedicated for the DefaultUnknownHandlerManager

* fixed the licensing and authore comments issues that causes build to fail

* follow good practice when initializing objects

* use TestCase to enhance performance
2018-01-29 12:39:18 +03:30
Lukasz Lenart 72058bf4c6 Reverts findAnnotation to its previous state 2018-01-29 09:04:03 +01:00
Lukasz Lenart 46462b3d00 Rephrases JavaDoc to better express function's meaning 2018-01-29 08:51:17 +01:00
Lukasz Lenart a9899b6622 Introduces new method find all annotations 2018-01-26 11:47:10 +01:00
Lukasz Lenart a3180e3069 Adds test to cover searching down the hierarchy 2018-01-25 12:28:09 +01:00
Lukasz Lenart d5926b7a21 Searches hierarchy down to Object class for annotation 2018-01-25 12:27:54 +01:00
Yasser Zamani 9beb940136 Merge pull request #201 from HedjuHor/WW-4891
WW-4891 Debug tag should not display anything when not in dev mode
2018-01-20 09:39:32 +03:30
Yanming Zhou 42cc8bd0fd Align OptGroup with Select
1. allow set freemarker sequence or hash as list
2. if list is a List, use 'top' as listKey and listValue
2018-01-19 17:08:05 +08:00
Hedju Hor 17b598433d WW-4891 PrepareOperations overrideDevMode for explicitly switch on for this action only 2018-01-18 23:10:25 +01:00
Yasser Zamani bba17b6496 add tests for initializable to cover more scopes 2018-01-16 14:23:41 +03:30
Lukasz Lenart 355e4b517f Adds additional test to cover deprecated option 2018-01-15 18:00:42 +01:00
Lukasz Lenart 1ec1e71d41 Adds test to cover the new constant 2018-01-15 17:32:34 +01:00
Lukasz Lenart e23197ab1b Uses the new constant and makes an old one deprecated 2018-01-15 17:32:24 +01:00
Lukasz Lenart c21fb94921 Defines a new constant to limit collection auto growth 2018-01-15 17:31:26 +01:00
Lukasz Lenart 29e1847f64 Merge pull request #199 from yasserzamani/WW-4906
fix conversion by annotation and WW-4906
2018-01-15 11:50:46 +01:00
Hedju Hor 02b61b2c05 WW-4891 Debug tag should not display anything when not in dev mode 2018-01-14 15:54:41 +01:00
Yasser Zamani 29b29a9c64 Merge pull request #196 from lukaszlenart/init-like-a-boss
WW-4905: Allows Initializable interface on implementing class instead of interface
2018-01-10 12:09:14 +03:30
Yasser Zamani 5e237e0fd3 fix and add test for lazy and early initialization of prototypes 2018-01-09 21:39:34 +03:30
Lukasz Lenart 23077d3ee9 Loads classes in advance 2018-01-09 16:02:33 +01:00