diff --git a/spring-binding/.classpath b/spring-binding/.classpath
index ef591a61..2f738604 100644
--- a/spring-binding/.classpath
+++ b/spring-binding/.classpath
@@ -10,10 +10,10 @@
-
-
-
-
+
+
+
+
diff --git a/spring-binding/ivy.xml b/spring-binding/ivy.xml
index e6d58dfb..87bb87be 100644
--- a/spring-binding/ivy.xml
+++ b/spring-binding/ivy.xml
@@ -23,10 +23,10 @@
-
-
-
-
+
+
+
+
diff --git a/spring-binding/pom.xml b/spring-binding/pom.xml
index fd164f6c..84117737 100644
--- a/spring-binding/pom.xml
+++ b/spring-binding/pom.xml
@@ -125,6 +125,6 @@
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
diff --git a/spring-binding/src/test/java/org/springframework/binding/expression/spel/ELExpressionParserCompatibilityTests.java b/spring-binding/src/test/java/org/springframework/binding/expression/spel/ELExpressionParserCompatibilityTests.java
index d29b8ea4..955ba3e6 100644
--- a/spring-binding/src/test/java/org/springframework/binding/expression/spel/ELExpressionParserCompatibilityTests.java
+++ b/spring-binding/src/test/java/org/springframework/binding/expression/spel/ELExpressionParserCompatibilityTests.java
@@ -107,8 +107,8 @@ public class ELExpressionParserCompatibilityTests extends TestCase {
public void testParseBeanEvalExpressionInvalidELVariable() {
try {
String expressionString = "bogus";
- Expression exp = parser.parseExpression(expressionString, new FluentParserContext()
- .evaluate(TestBean.class));
+ Expression exp = parser.parseExpression(expressionString,
+ new FluentParserContext().evaluate(TestBean.class));
exp.getValue(new TestBean());
fail("Should have failed");
} catch (EvaluationException e) {
@@ -131,8 +131,8 @@ public class ELExpressionParserCompatibilityTests extends TestCase {
public void testParseTemplateExpressionWithVariables() {
String expressionString = "#{value}#{#max}";
- Expression exp = parser.parseExpression(expressionString, new FluentParserContext().template().variable(
- new ExpressionVariable("max", "maximum")));
+ Expression exp = parser.parseExpression(expressionString,
+ new FluentParserContext().template().variable(new ExpressionVariable("max", "maximum")));
TestBean target = new TestBean();
assertEquals("foo2", exp.getValue(target)); // TODO:
}
@@ -147,7 +147,8 @@ public class ELExpressionParserCompatibilityTests extends TestCase {
String expressionString = "maximum";
Expression exp = parser.parseExpression(expressionString, null);
TestBean context = new TestBean();
- assertEquals(int.class, exp.getValueType(context));
+ Class clazz = exp.getValueType(context);
+ assertTrue(int.class.equals(clazz) || Integer.class.equals(clazz));
}
public void testGetValueWithCoersion() {
@@ -159,8 +160,8 @@ public class ELExpressionParserCompatibilityTests extends TestCase {
public void testGetValueCoersionError() {
String expressionString = "maximum";
- Expression exp = parser.parseExpression(expressionString, new FluentParserContext()
- .expectResult(TestBean.class));
+ Expression exp = parser.parseExpression(expressionString,
+ new FluentParserContext().expectResult(TestBean.class));
TestBean context = new TestBean();
try {
exp.getValue(context);
@@ -202,8 +203,8 @@ public class ELExpressionParserCompatibilityTests extends TestCase {
}
public TypedValue read(EvaluationContext context, Object target, String name) throws AccessException {
- return new TypedValue("Custom resolver resolved this special property!", TypeDescriptor
- .valueOf(String.class));
+ return new TypedValue("Custom resolver resolved this special property!",
+ TypeDescriptor.valueOf(String.class));
}
public Class[] getSpecificTargetClasses() {
diff --git a/spring-binding/template.mf b/spring-binding/template.mf
index d82b70ae..f8a22b89 100644
--- a/spring-binding/template.mf
+++ b/spring-binding/template.mf
@@ -6,7 +6,7 @@ Import-Package:
ognl;version="[2.6.9, 3.0.0)";resolution:=optional,
org.jboss.el;version="[2.0.0, 3.0.0)";resolution:=optional
Import-Template:
- org.springframework.*;version="[3.0.5.RELEASE, 3.1.0)",
+ org.springframework.*;version="[3.1.0.RELEASE, 3.2.0)",
org.apache.commons.logging;version="[1.1.1, 2.0.0)",
javax.el;version="[1.0.0, 2.0.0)";resolution:=optional,
ognl;version="[2.6.9, 3.0.0)";resolution:=optional,
diff --git a/spring-faces/.classpath b/spring-faces/.classpath
index 8107e410..5967530f 100644
--- a/spring-faces/.classpath
+++ b/spring-faces/.classpath
@@ -23,13 +23,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/spring-faces/ivy.xml b/spring-faces/ivy.xml
index 71d26378..2b093dd6 100644
--- a/spring-faces/ivy.xml
+++ b/spring-faces/ivy.xml
@@ -32,13 +32,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -75,7 +75,7 @@
-
+
diff --git a/spring-faces/pom.xml b/spring-faces/pom.xml
index 4fc05e30..3bc7a813 100644
--- a/spring-faces/pom.xml
+++ b/spring-faces/pom.xml
@@ -216,6 +216,6 @@
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
diff --git a/spring-faces/template.mf b/spring-faces/template.mf
index ac6c098c..ffe4944d 100644
--- a/spring-faces/template.mf
+++ b/spring-faces/template.mf
@@ -8,7 +8,7 @@ Import-Template:
org.springframework.binding.*;version="[2.3.0, 2.4.0)",
org.springframework.js.*;version="[2.3.0, 2.4.0)",
org.springframework.webflow.*;version="[2.3.0, 2.4.0)",
- org.springframework.*;version="[3.0.5.RELEASE, 3.1.0)",
+ org.springframework.*;version="[3.1.0.RELEASE, 3.2.0)",
org.apache.commons.logging;version="[1.1.1, 2.0.0)",
javax.el;version="[1.0.0, 2.0.0)",
javax.portlet;version="[2.0.0, 3.0.0)";resolution:=optional,
diff --git a/spring-js-resources/.classpath b/spring-js-resources/.classpath
index abba49bf..585b2fd2 100644
--- a/spring-js-resources/.classpath
+++ b/spring-js-resources/.classpath
@@ -14,14 +14,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/spring-js/.classpath b/spring-js/.classpath
index abba49bf..585b2fd2 100644
--- a/spring-js/.classpath
+++ b/spring-js/.classpath
@@ -14,14 +14,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/spring-js/ivy.xml b/spring-js/ivy.xml
index 9e026fdc..1fc2aba3 100644
--- a/spring-js/ivy.xml
+++ b/spring-js/ivy.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd"
version="1.3">
-
+
@@ -26,21 +26,21 @@
-
-
-
-
-
+
+
+
+
+
-
+
-
+
diff --git a/spring-js/pom.xml b/spring-js/pom.xml
index c5fe5d78..817f7ce7 100644
--- a/spring-js/pom.xml
+++ b/spring-js/pom.xml
@@ -143,6 +143,6 @@
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
diff --git a/spring-js/template.mf b/spring-js/template.mf
index 0f228cc8..9e696226 100644
--- a/spring-js/template.mf
+++ b/spring-js/template.mf
@@ -3,7 +3,7 @@ Bundle-Name: Spring JS
Bundle-Vendor: SpringSource
Bundle-ManifestVersion: 2
Import-Template:
- org.springframework.*;version="[3.0.5.RELEASE, 3.1.0)",
+ org.springframework.*;version="[3.1.0.RELEASE, 3.2.0)",
org.apache.commons.logging;version="[1.1.1, 2.0.0)",
javax.servlet;version="[2.4.0, 3.0.0)",
javax.servlet.http;version="[2.4.0, 3.0.0)",
diff --git a/spring-webflow-samples/booking-mvc/.classpath b/spring-webflow-samples/booking-mvc/.classpath
index 8300e496..d467be58 100755
--- a/spring-webflow-samples/booking-mvc/.classpath
+++ b/spring-webflow-samples/booking-mvc/.classpath
@@ -39,28 +39,28 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
+
+
+
-
+
diff --git a/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component
index c42990b6..c77e75d8 100755
--- a/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component
+++ b/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component
@@ -90,31 +90,31 @@
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
@@ -123,7 +123,7 @@
uses
-
+
uses
@@ -141,16 +141,16 @@
uses
-
+
uses
-
+
uses
uses
-
+
uses
diff --git a/spring-webflow-samples/booking-mvc/pom.xml b/spring-webflow-samples/booking-mvc/pom.xml
index 2a88b252..5ae82128 100644
--- a/spring-webflow-samples/booking-mvc/pom.xml
+++ b/spring-webflow-samples/booking-mvc/pom.xml
@@ -8,7 +8,7 @@
Hotel Booking : Spring MVC + Web Flow + JSP
2.3.1.BUILD-SNAPSHOT
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
3.0.2.RELEASE
1.5.10
diff --git a/spring-webflow-samples/booking-portlet-faces/.classpath b/spring-webflow-samples/booking-portlet-faces/.classpath
index 1c5d0346..3e68d0aa 100644
--- a/spring-webflow-samples/booking-portlet-faces/.classpath
+++ b/spring-webflow-samples/booking-portlet-faces/.classpath
@@ -40,25 +40,25 @@
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/spring-webflow-samples/booking-portlet-faces/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/booking-portlet-faces/.settings/org.eclipse.wst.common.component
index 2c89b1d1..9b0d5858 100644
--- a/spring-webflow-samples/booking-portlet-faces/.settings/org.eclipse.wst.common.component
+++ b/spring-webflow-samples/booking-portlet-faces/.settings/org.eclipse.wst.common.component
@@ -93,34 +93,34 @@
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
@@ -129,22 +129,22 @@
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
-
+
uses
diff --git a/spring-webflow-samples/booking-portlet-faces/pom.xml b/spring-webflow-samples/booking-portlet-faces/pom.xml
index 17a7dcfa..4069efce 100644
--- a/spring-webflow-samples/booking-portlet-faces/pom.xml
+++ b/spring-webflow-samples/booking-portlet-faces/pom.xml
@@ -8,7 +8,7 @@
Hotel Booking : Spring Portlet MVC + Web Flow + JSF
2.3.1.BUILD-SNAPSHOT
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
1.5.10
1.2.9
diff --git a/spring-webflow-samples/booking-portlet-mvc/.classpath b/spring-webflow-samples/booking-portlet-mvc/.classpath
index 4e91487c..a54663f2 100644
--- a/spring-webflow-samples/booking-portlet-mvc/.classpath
+++ b/spring-webflow-samples/booking-portlet-mvc/.classpath
@@ -35,24 +35,24 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/spring-webflow-samples/booking-portlet-mvc/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/booking-portlet-mvc/.settings/org.eclipse.wst.common.component
index 805f7ea3..d69d96d2 100644
--- a/spring-webflow-samples/booking-portlet-mvc/.settings/org.eclipse.wst.common.component
+++ b/spring-webflow-samples/booking-portlet-mvc/.settings/org.eclipse.wst.common.component
@@ -78,31 +78,31 @@
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
@@ -111,22 +111,22 @@
uses
-
+
uses
-
+
uses
-
+
uses
uses
-
+
uses
-
+
uses
diff --git a/spring-webflow-samples/booking-portlet-mvc/pom.xml b/spring-webflow-samples/booking-portlet-mvc/pom.xml
index 819aebc9..85b03dd4 100644
--- a/spring-webflow-samples/booking-portlet-mvc/pom.xml
+++ b/spring-webflow-samples/booking-portlet-mvc/pom.xml
@@ -8,7 +8,7 @@
Hotel Booking : Spring Portlet MVC + Web Flow + JSP
2.3.1.BUILD-SNAPSHOT
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
1.5.10
diff --git a/spring-webflow-samples/jsf-booking/.classpath b/spring-webflow-samples/jsf-booking/.classpath
index 859f9d1f..877ae6bd 100644
--- a/spring-webflow-samples/jsf-booking/.classpath
+++ b/spring-webflow-samples/jsf-booking/.classpath
@@ -27,17 +27,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spring-webflow-samples/jsf-booking/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/jsf-booking/.settings/org.eclipse.wst.common.component
index 2be3ead4..02fa66ee 100644
--- a/spring-webflow-samples/jsf-booking/.settings/org.eclipse.wst.common.component
+++ b/spring-webflow-samples/jsf-booking/.settings/org.eclipse.wst.common.component
@@ -63,34 +63,34 @@
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
-
+
uses
diff --git a/spring-webflow-samples/jsf-booking/pom.xml b/spring-webflow-samples/jsf-booking/pom.xml
index 1308bf2c..bf204aa9 100644
--- a/spring-webflow-samples/jsf-booking/pom.xml
+++ b/spring-webflow-samples/jsf-booking/pom.xml
@@ -8,7 +8,7 @@
Hotel Booking : Spring Framework + JSF
2.3.1.BUILD-SNAPSHOT
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
1.5.10
2.1.7
diff --git a/spring-webflow/.classpath b/spring-webflow/.classpath
index e6e3a229..462f3631 100644
--- a/spring-webflow/.classpath
+++ b/spring-webflow/.classpath
@@ -34,18 +34,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-webflow/ivy.xml b/spring-webflow/ivy.xml
index 56631af3..a2747d53 100644
--- a/spring-webflow/ivy.xml
+++ b/spring-webflow/ivy.xml
@@ -30,15 +30,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -52,10 +52,10 @@
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/spring-webflow/pom.xml b/spring-webflow/pom.xml
index 61221a52..5dcf7c19 100644
--- a/spring-webflow/pom.xml
+++ b/spring-webflow/pom.xml
@@ -256,6 +256,6 @@
- 3.0.5.RELEASE
+ 3.1.1.RELEASE
diff --git a/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/BindingModel.java b/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/BindingModel.java
index 4e8e62ff..dfea1d67 100644
--- a/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/BindingModel.java
+++ b/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/BindingModel.java
@@ -209,6 +209,10 @@ public class BindingModel extends AbstractErrors implements BindingResult {
throw new UnsupportedOperationException("Should not be called during view rendering");
}
+ public String[] resolveMessageCodes(String errorCode) {
+ throw new UnsupportedOperationException("Should not be called during view rendering");
+ }
+
// internal helpers
private Expression parseFieldExpression(String field, boolean useResultTypeHint) {
diff --git a/spring-webflow/src/test/java/org/springframework/webflow/mvc/view/AbstractBindingModelTests.java b/spring-webflow/src/test/java/org/springframework/webflow/mvc/view/AbstractBindingModelTests.java
index 877b641f..0623dac6 100644
--- a/spring-webflow/src/test/java/org/springframework/webflow/mvc/view/AbstractBindingModelTests.java
+++ b/spring-webflow/src/test/java/org/springframework/webflow/mvc/view/AbstractBindingModelTests.java
@@ -150,7 +150,8 @@ public abstract class AbstractBindingModelTests extends TestCase {
model.pushNestedPath("nestedBean");
assertEquals("test", model.getFieldValue("datum1"));
assertEquals("0", model.getFieldValue("datum2"));
- assertEquals(int.class, model.getFieldType("datum2"));
+ Class clazz = model.getFieldType("datum2");
+ assertTrue(int.class.equals(clazz) || Integer.class.equals(clazz));
messages.addMessage(new MessageBuilder().source("nestedBean.datum2").error().defaultText("Error").build());
assertNotNull(model.getFieldErrors("datum2").get(0));
diff --git a/spring-webflow/template.mf b/spring-webflow/template.mf
index b1c793ec..c1db8e09 100644
--- a/spring-webflow/template.mf
+++ b/spring-webflow/template.mf
@@ -5,10 +5,10 @@ Bundle-ManifestVersion: 2
Import-Template:
org.springframework.binding.*;version="[2.3.0, 2.4.0)",
org.springframework.js.*;version="[2.3.0, 2.4.0)",
- org.springframework.*;version="[3.0.5.RELEASE, 3.1.0)",
- org.springframework.orm.*;version="[3.0.5.RELEASE, 3.1.0)";resolution:=optional,
- org.springframework.transaction.*;version="[3.0.5.RELEASE, 3.1.0)";resolution:=optional,
- org.springframework.web.portlet.*;version="[3.0.5.RELEASE, 3.1.0)";resolution:=optional,
+ org.springframework.*;version="[3.1.0.RELEASE, 3.2.0)",
+ org.springframework.orm.*;version="[3.1.0.RELEASE, 3.2.0)";resolution:=optional,
+ org.springframework.transaction.*;version="[3.1.0.RELEASE, 3.2.0)";resolution:=optional,
+ org.springframework.web.portlet.*;version="[3.1.0.RELEASE, 3.2.0)";resolution:=optional,
org.springframework.security.*;version="[3.0.0, 4.0.0)";resolution:=optional,
org.apache.commons.logging;version="[1.1.1, 2.0.0)",
javax.servlet;version="[2.4.0, 3.0.0)",