You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2005/08/06 14:17:27 UTC

svn commit: r230546 - /myfaces/api/trunk/src/java/javax/faces/component/UIInput.java

Author: mbr
Date: Sat Aug  6 05:17:24 2005
New Revision: 230546

URL: http://svn.apache.org/viewcvs?rev=230546&view=rev
Log:
fix for MYFACES-277, validation mark moved was still at wrong place :-(

Modified:
    myfaces/api/trunk/src/java/javax/faces/component/UIInput.java

Modified: myfaces/api/trunk/src/java/javax/faces/component/UIInput.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/component/UIInput.java?rev=230546&r1=230545&r2=230546&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/UIInput.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/UIInput.java Sat Aug  6 05:17:24 2005
@@ -277,6 +277,8 @@
         Object submittedValue = getSubmittedValue();
         if (submittedValue == null) return;
 
+        _isValidated = true;
+
         Object convertedValue = getConvertedValue(context, submittedValue);
 
         if (!isValid()) return;
@@ -292,7 +294,6 @@
         {
             queueEvent(new ValueChangeEvent(this, previousValue, convertedValue));
         }
-        _isValidated = true;
     }
 
     protected Object getConvertedValue(FacesContext context, Object submittedValue)