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/09 14:37:40 UTC
svn commit: r231024 -
/myfaces/api/trunk/src/java/javax/faces/component/UIInput.java
Author: mbr
Date: Tue Aug 9 05:37:36 2005
New Revision: 231024
URL: http://svn.apache.org/viewcvs?rev=231024&view=rev
Log:
revert fix for MYFACES-277
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=231024&r1=231023&r2=231024&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/UIInput.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/UIInput.java Tue Aug 9 05:37:36 2005
@@ -28,8 +28,6 @@
import javax.faces.event.ValueChangeListener;
import javax.faces.render.Renderer;
import javax.faces.validator.Validator;
-
-import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@@ -54,7 +52,6 @@
private MethodBinding _validator = null;
private MethodBinding _valueChangeListener = null;
private List _validatorList = null;
- private boolean _isValidated = false;
public Object getSubmittedValue()
{
@@ -184,18 +181,6 @@
setValid(true);
super.decode(context);
}
-
- /**
- * @see javax.faces.component.UIComponentBase#encodeBegin(javax.faces.context.FacesContext)
- */
- public void encodeBegin(FacesContext context) throws IOException
- {
- if(!_isValidated)
- {
- setSubmittedValue(null);
- }
- super.encodeBegin(context);
- }
public void broadcast(FacesEvent event)
throws AbortProcessingException
@@ -276,8 +261,6 @@
if (context == null) throw new NullPointerException("context");
Object submittedValue = getSubmittedValue();
if (submittedValue == null) return;
-
- _isValidated = true;
Object convertedValue = getConvertedValue(context, submittedValue);