You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gr...@apache.org on 2007/05/18 18:40:35 UTC

svn commit: r539518 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java

Author: grantsmith
Date: Fri May 18 09:40:34 2007
New Revision: 539518

URL: http://svn.apache.org/viewvc?view=rev&rev=539518
Log:
http://issues.apache.org/jira/browse/TOMAHAWK-907

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java?view=diff&rev=539518&r1=539517&r2=539518
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java Fri May 18 09:40:34 2007
@@ -172,7 +172,7 @@
 
     public Object saveState(FacesContext context)
     {
-        Object values[] = new Object[7];
+        Object values[] = new Object[8];
         values[0] = super.saveState(context);
         values[1] = _enabledOnUserRole;
         values[2] = _visibleOnUserRole;
@@ -180,6 +180,7 @@
         values[4] = _displayValueOnlyStyle;
         values[5] = _displayValueOnlyStyleClass;
         values[6] = _disabledOnClientSide;
+        values[7] = _autocomplete;
         return values;
     }
 
@@ -193,6 +194,7 @@
         _displayValueOnlyStyle = (String)values[4];
         _displayValueOnlyStyleClass = (String)values[5];
         _disabledOnClientSide = (Boolean)values[6];
+        _autocomplete = (String)values[7];
     }
     //------------------ GENERATED CODE END ---------------------------------------
 }