Author: nbelaevski
Date: 2009-05-26 09:57:18 -0400 (Tue, 26 May 2009)
New Revision: 14337
Modified:
branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-3852
Modified:
branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
===================================================================
---
branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26
13:54:51 UTC (rev 14336)
+++
branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26
13:57:18 UTC (rev 14337)
@@ -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