Author: abelevich
Date: 2008-10-24 09:47:41 -0400 (Fri, 24 Oct 2008)
New Revision: 10898
Modified:
branches/3.2.x.SR/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-3852
Modified:
branches/3.2.x.SR/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
===================================================================
---
branches/3.2.x.SR/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2008-10-24
13:10:59 UTC (rev 10897)
+++
branches/3.2.x.SR/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2008-10-24
13:47:41 UTC (rev 10898)
@@ -528,11 +528,6 @@
// Submitted value == null means "the component was not submitted
// at all"; validation should not continue
-//
http://jira.jboss.com/jira/browse/RF-3852
-// if (submittedValueHolder == null) {
-// return;
-// }
-
Object previousValue = getValue();
Object newValue = null;
@@ -572,6 +567,10 @@
}
validateValue(context, newValue);
+
+ if (submittedValueHolder == null) {
+ return;
+ }
// If our value is valid, store the new value, erase the
// "submitted" value, and emit a ValueChangeEvent if appropriate