You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2007/09/21 19:39:59 UTC

svn commit: r578211 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java

Author: imario
Date: Fri Sep 21 10:39:59 2007
New Revision: 578211

URL: http://svn.apache.org/viewvc?rev=578211&view=rev
Log:
disable the browser-side autocomplete to not overlap the ajaxified one

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java?rev=578211&r1=578210&r2=578211&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjax.java Fri Sep 21 10:39:59 2007
@@ -46,6 +46,11 @@
         super();
 
         setRendererType(DEFAULT_RENDERER_TYPE);
+
+		// it makes absolutely no sense to have two autocompletes active at the same time
+		// ensure to disable the browser one - this has nothing to do with the
+		// autocomplete attribute this component provides
+		setAutocomplete("off"); // NON-NLS
     }
 
     public Object saveState(FacesContext context)