Author: nbelaevski
Date: 2009-05-26 10:10:52 -0400 (Tue, 26 May 2009)
New Revision: 14344
Modified:
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-3852
Modified:
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
===================================================================
---
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26
14:08:59 UTC (rev 14343)
+++
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26
14:10:52 UTC (rev 14344)
@@ -549,12 +549,6 @@
throw new NullPointerException();
}
- if (submittedValueHolder == null) {
- return;
- }
-
-//
http://jira.jboss.com/jira/browse/RF-3852
-
Object previousValue = getValue();
Object newValue = null;
@@ -594,6 +588,11 @@
}
validateValue(context, newValue);
+
+ //RF-3852
+ if (submittedValueHolder == null) {
+ return;
+ }
// If our value is valid, store the new value, erase the
// "submitted" value, and emit a ValueChangeEvent if appropriate