Commit Graph

280 Commits

Author SHA1 Message Date
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
Keith Donald
11916d567e tests mvc compat 2009-03-02 15:07:51 +00:00
Keith Donald
952d558500 tests mvc compat 2009-03-02 15:07:25 +00:00
Keith Donald
a7c3d1ed2f mvc compat 2009-03-02 14:57:36 +00:00
Keith Donald
a4a71943a8 mvc compat 2009-03-02 14:54:57 +00:00
Keith Donald
77b49c7cc0 mvc compat 2009-03-02 14:54:27 +00:00
Keith Donald
65111d1f1b polish 2009-02-27 22:36:13 +00:00
Keith Donald
c72423df2c polish 2009-02-27 22:32:35 +00:00
Keith Donald
ba64eea0b2 polish 2009-02-27 22:31:25 +00:00
Keith Donald
4244cccb3a polish 2009-02-27 22:31:14 +00:00
Keith Donald
bc8a7a5daf name ppolishing 2009-02-27 22:29:52 +00:00
Keith Donald
4af016ba58 polish 2009-02-27 22:23:07 +00:00
Keith Donald
26c561f41d polish 2009-02-27 22:21:04 +00:00
Keith Donald
9be2a24890 polish 2009-02-27 22:17:20 +00:00
Keith Donald
f2931626f0 polish 2009-02-27 22:10:44 +00:00
Keith Donald
8a1eb749f5 polish 2009-02-27 22:07:40 +00:00
Keith Donald
fa97580264 Validation context polishing 2009-02-27 20:57:09 +00:00
Keith Donald
875e0aa64a Validation context polishing 2009-02-27 20:56:15 +00:00