You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by to...@apache.org on 2006/11/22 23:17:23 UTC

svn commit: r478342 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/UIInput.java

Author: tomsp
Date: Wed Nov 22 14:17:22 2006
New Revision: 478342

URL: http://svn.apache.org/viewvc?view=rev&rev=478342
Log:
MYFACES-1467

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

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UIInput.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIInput.java?view=diff&rev=478342&r1=478341&r2=478342
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UIInput.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UIInput.java Wed Nov 22 14:17:22 2006
@@ -345,7 +345,7 @@
     {
         if (context == null) throw new NullPointerException("context");
         Object submittedValue = getSubmittedValue();
-        if (submittedValue == null) return;
+        if (submittedValue == null && !this.isRequired()) return;
 
         Object convertedValue = getConvertedValue(context, submittedValue);