myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r546486 - /myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java
Date Tue, 12 Jun 2007 14:02:05 GMT
Author: imario
Date: Tue Jun 12 07:02:04 2007
New Revision: 546486

URL: http://svn.apache.org/viewvc?view=rev&rev=546486
Log:
do not autocomplete the input to allow "fulltextsearch", turn off browser autocomplete

Modified:
    myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java

Modified: myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java?view=diff&rev=546486&r1=546485&r2=546486
==============================================================================
--- myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java
(original)
+++ myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/dynaForm/guiBuilder/impl/myfaces/MyFacesGuiBuilder.java
Tue Jun 12 07:02:04 2007
@@ -138,6 +138,11 @@
 
 		cmp.setSuggestedItemsMethod(mbSearch);
 		cmp.setItemLabelMethod(mbLabel);
+		// set dojo-autocomplete to false to allow "in string search"
+		cmp.setAutoComplete(Boolean.FALSE);
+		// set html-autocomplete to false to avoid having the browser rendering its
+		// "autocomplete/lookup old values" stuff
+		cmp.setAutocomplete("off"); // NON-NLS
 
 		if (cmp.getConverter() == null)
 		{



Mime
View raw message