Commit Graph

297 Commits

Author SHA1 Message Date
Rossen Stoyanchev
962cb673cf Use SimpleEvaluationContext in AbstractMvcView
Issue: SWF-1722
2018-03-27 13:41:57 -04:00
Rossen Stoyanchev
da6d1492c1 Fix warnings 2018-02-08 18:50:40 -05:00
Rossen Stoyanchev
6d5a8debd5 Polish
Remove:
- auto-boxing
- unnecessary array creation
- public keyword on interface methods
- unnecessary throws clauses

Use lambda expressions
2018-02-08 15:47:21 -05:00
Rossen Stoyanchev
d66c25ffd0 Use diamond operator
Issue: SWF-1718
2018-02-08 13:06:46 -05:00
Rossen Stoyanchev
b30a92e45a Transient source and target in DefaultMappingResults
Issue: SWF-1716
2018-01-24 15:01:18 -05:00
Rossen Stoyanchev
eade36e741 Serializable MappingResult(s)
Issue: SWF-1715
2017-12-20 13:56:24 -05:00
Andy Wilkinson
ee6c0b0e13 Align SpringELExpressionParser with Framework's nullable changes
TemplateAwareExpressionParser.parseExpression(String, ParserContext)
no longer accepts a null ParserContext so we now have to call
TemplateAwareExpressionParser.parseExpression(String) when we don't
have a ParserContext.
2017-06-19 14:35:34 +01:00
Rossen Stoyanchev
7ade1b8c81 Catch up with the latest Spring Framework 5 snapshot 2017-02-02 14:02:15 -05:00
Rossen Stoyanchev
ac03032fd4 Purge deprecated classes
Issue: SWF-1694
2017-01-06 16:47:57 -05:00
Rossen Stoyanchev
b263c1c87a Remove OGNL expression support
Issue: SWF-1694
2017-01-06 16:47:41 -05:00
Rossen Stoyanchev
4fb1b99a8b Dependency updates
Spring Security 4.1.0  -> 4.2.1
Commons Logging 1.1.1  -> 1.2
Log4j           1.7.22 -> 2.7
Servlet API     3.0.1  -> 3.1.0
Tiles           3.0.5  -> 3.0.7
JUnit           4.1.11 -> 4.1.12

Issue: SWF-1692
2017-01-06 16:47:19 -05:00
Rossen Stoyanchev
f2cb911c3f Upgrade Gradle to 3.2.1 2017-01-06 16:47:18 -05:00
Rossen Stoyanchev
6719d26d66 Add final keyword to SpringElExpression fields 2015-06-04 22:06:09 -04:00
Rossen Stoyanchev
70cf66111c Add protected method to SpringELExpression
Issue: SWF-1476
2014-03-31 21:46:17 -04:00
Rossen Stoyanchev
dbf71490c3 Polish 2014-03-31 21:41:39 -04:00
Rossen Stoyanchev
77198b5c5f Deprecate OGNL support
Issue: SWF-1627
2014-03-31 15:30:31 -04:00
Rossen Stoyanchev
2ee9d4144a Upgrade to Spring Framework 4.0
The build now compiles with Servlet API 3.0 and JPA 2.0 both of which
are required with Spring Framework 4.0. However there are no hard
dependencies in Web Flow on either.

Issue: SWF-1600
2013-12-18 15:26:51 -05:00
Rossen Stoyanchev
49fe4b49a9 Add autogrow props to BeanWrapperExpressionParser
The spring-binding BeanWrapperExpressionParser now supports the
setAutoGrowNestedPaths and setAutoGrowCollectionLimit properties, which
are in turn transfered to the underlying BeanWrapperImpl used in each
created and evaluated expression.

Issue: SWF-1566
2012-12-21 18:04:27 -05:00
Phillip Webb
313621b06c Polish package level Javadoc
Replace all package.html files with package-info.java
2012-11-13 19:38:21 -08:00
Rossen Stoyanchev
4e81930b72 Add Gradle build
- Add gradle build script
- Remove spring-build/
- Remove build-spring-webflow/
- Remove ivy.xml, pom.xml, template.mf
- Remove eclipse  metadata
- Remove RichFacesAjaxHandler.java
- Create src/dist and add changelog.txt, readme.txt

Dependency changes:
- EBR dependency -> Maven-central dependencies
- el-api 1.0 -> 2.2.0
- ognl 2.6.9 -> 2.6.11
- org.jboss.el -> tomcat-jasper-el 7.0.27
2012-05-25 16:54:15 -04:00
Phillip Webb
b7342dbc20 Deprecate CompositeIterator in favor Spring core.
Deprecate existing class and refactor internal code to use the org.spring.util version that 
has been available since Spring 3.0

Issues: SWF-1532
2012-04-12 09:05:12 -07:00
Phillip Webb
54a300e009 Change signatures to make use of Java 5 varargs
Issues: SWF-1532
2012-04-05 16:23:38 -07:00
Phillip Webb
53384adca9 Update dates in copyright notice to 2004-2012
Issues: SWF-1532
2012-04-05 16:02:01 -07:00
Phillip Webb
34f4837ebd Replace use of Iterator with Java 5 foreach loops
Issues: SWF-1532
2012-04-05 15:52:09 -07:00
Phillip Webb
22b018e95a Make use of Java 5 auto boxing
Reviewed and replaced when possible:
- new Integer
- intValue()
- new Boolean
- booleanValue()
- Boolean.TRUE
- Boolean.FALSE
- new Long
- longValue()

Issues: SWF-1532
2012-04-05 14:07:58 -07:00
Phillip Webb
58936414e4 Replace StringBuffe with StringBuilder
Issues: SWF-1532
2012-04-05 10:48:49 -07:00
Phillip Webb
3f1c40188c Update dates in copyright notice to 2004-2012
Issues: SWF-1532
2012-04-05 10:39:26 -07:00
Phil Webb
4d008f3f09 Refactor code to use Java 5 features
- Apply and use Generics
- Remove JdkVersion.isAtLeastJava15() conditionals
- Replace iterator loops with foreach syntax
- Switch on warning in eclipse

Issues: SWF-1532
2012-03-29 21:02:07 -07:00
Rossen Stoyanchev
dddcf7a258 Upgrade to Spring 3.1.1 2012-03-26 18:20:09 -04:00
Rossen Stoyanchev
8aec740bd8 Updates to readme, javadoc, and sample poms.
Issues: SWF-1507
2012-03-26 16:27:53 -04:00
Rossen Stoyanchev
df649084ab Fix for bean validation messages in BindingResult
Previously Web Flow's BindingResult implementation distinguished
object from field-level errors by checking if the source of the
error is null or otherwise a String. However, class-level bean
validation errors have a field source represented by an empty
String. After this change object and field-level errors are
recognized by checking for String-based field source that is
neither null nor empty.

This commit also contains a fix for spring-faces tests where
in JSF 2.1 the presence of an unreleased FacesContext may
cause some tests to fail.
2012-02-28 13:27:16 -05:00
Rossen Stoyanchev
63bc6f2660 Add missing (empty) source folders. 2011-12-29 10:51:20 -05:00
Rossen Stoyanchev
e4cd0e0bb6 SWF-1437 Fix thread-safety issue with SpringELExpression class 2010-12-14 11:35:17 +00:00
Rossen Stoyanchev
8928b6d7ff SWF-1247 Fix issues relating error codes in MessageContextErrors 2010-12-01 12:45:34 +00:00
Rossen Stoyanchev
cef35b6a45 SWF-1373 Update test case for untyped Collection to integer[] array conversion after resolution of SPR-7496 2010-09-13 10:14:52 +00:00
Rossen Stoyanchev
6bb0f1ffec SWF-1389 Fix issue in MessageContextErrors relating to use of JSR-303 validations 2010-08-31 14:34:37 +00:00
Rossen Stoyanchev
4158063836 SWF-1373 Upgrade to Spring 3.0.4, update booking-mvc sample (Spring MVC resource serving, default servlet mapping) 2010-08-25 19:19:50 +00:00
Rossen Stoyanchev
fa0c1f4222 SWF-1250 Replace extensions of deprecated LabeledEnum with Java 5 enum instead of having a StringToLabeledEnumConverter registered with the ConversionService 2010-06-09 15:39:25 +00:00
Rossen Stoyanchev
518dfc2ccf SWF-1237 Documentation updates for 2.1 release 2010-06-03 15:15:37 +00:00
Rossen Stoyanchev
de75aefc63 SWF-1234 Integration with Spring 3 type conversion 2010-05-04 11:12:32 +00:00
Rossen Stoyanchev
7372b31184 SWF-1136 Make Spring EL the default expression language used. The current implementation is functionally equivalent except it ignores the configured Web Flow ConversionService and uses the Spring 3 conversion system instead. 2010-04-27 14:45:39 +00:00
Rossen Stoyanchev
4aff050e81 SWF-1136 First cut of Spring Binding adapters for Spring EL. Results verified with same test cases as what is there for the Unified EL adapters. 2010-04-23 10:55:30 +00:00
Rossen Stoyanchev
c4fab9bae5 SWF-1229 Prevent wrapping with ObjectToCollection converter where not necessary. 2010-04-09 15:28:24 +00:00
Keith Donald
bf9e588edb fixed typo 2009-04-17 13:32:49 +00:00
Keith Donald
5862113c89 patch applied for 1050 2009-03-12 14:05:54 +00:00
Keith Donald
53ee66b04e made message codes resolver pluggable; now delegate resolver strategy from Errors MessageContext adapter 2009-03-10 03:15:46 +00:00
Keith Donald
8f8082321c backed out 2.0.x validation enhancements in favor of adding them in 3.0.0 aligned with spring 3 2009-03-09 21:27:36 +00:00
Keith Donald
ffce230b01 validation testing 2009-03-03 21:38:02 +00:00
Keith Donald
0f2c5a8d3f adding for Keith 2009-03-02 21:10:08 +00:00
Keith Donald
b4a00526a4 polish 2009-03-02 20:09:47 +00:00