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:11:38 UTC

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

Author: mbr
Date: Sat Aug  6 05:11:34 2005
New Revision: 230545

URL: http://svn.apache.org/viewcvs?rev=230545&view=rev
Log:
fix for MYFACES-277, validation mark moved to validate method.
Thanks to Mathias Werlitz for reporting it.

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=230545&r1=230544&r2=230545&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:11:34 2005
@@ -156,7 +156,6 @@
                 context.renderResponse();
             }
         }
-        _isValidated = true;
     }
 
     public void processUpdates(FacesContext context)
@@ -293,6 +292,7 @@
         {
             queueEvent(new ValueChangeEvent(this, previousValue, convertedValue));
         }
+        _isValidated = true;
     }
 
     protected Object getConvertedValue(FacesContext context, Object submittedValue)