You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/01/25 09:41:03 UTC

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

Author: matzew
Date: Thu Jan 25 00:41:01 2007
New Revision: 499699

URL: http://svn.apache.org/viewvc?view=rev&rev=499699
Log:
revert svn rev 478342 (fix for MYFACES-1467)

that causes way to much side effects.

There is a second patch, but we can't apply that. That introcues new methods (api) to UIInput,
which is illegal.

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=499699&r1=499698&r2=499699
==============================================================================
--- 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 Thu Jan 25 00:41:01 2007
@@ -345,7 +345,7 @@
     {
         if (context == null) throw new NullPointerException("context");
         Object submittedValue = getSubmittedValue();
-        if (submittedValue == null && !this.isRequired()) return;
+        if (submittedValue == null) return;
 
         Object convertedValue = getConvertedValue(context, submittedValue);