You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/05/21 21:29:38 UTC

svn commit: r408466 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java

Author: bommel
Date: Sun May 21 12:29:37 2006
New Revision: 408466

URL: http://svn.apache.org/viewvc?rev=408466&view=rev
Log:
forget state saving for 
TOBAGO-75

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java?rev=408466&r1=408465&r2=408466&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java Sun May 21 12:29:37 2006
@@ -43,13 +43,15 @@
     super.restoreState(context, values[0]);
     suggestMethod = (MethodBinding) restoreAttachedState(context, values[1]);
     readonly = (Boolean) values[2];
+    password = (Boolean) values[3];
   }
 
   public Object saveState(FacesContext context) {
-    Object[] values = new Object[3];
+    Object[] values = new Object[4];
     values[0] = super.saveState(context);
     values[1] = saveAttachedState(context, suggestMethod);
     values[2] = readonly;
+    values[3] = password;
     return values;
   }