click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r962372 - /click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Date Fri, 09 Jul 2010 00:21:10 GMT
Author: sabob
Date: Fri Jul  9 00:21:09 2010
New Revision: 962372

URL: http://svn.apache.org/viewvc?rev=962372&view=rev
Log:
non String suggestions should be handled

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java?rev=962372&r1=962371&r2=962372&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Fri Jul  9 00:21:09 2010
@@ -186,7 +186,7 @@ public abstract class AutoCompleteTextFi
      * @param criteria the search criteria
      * @return the list of suggested values for the given search criteria
      */
-    abstract public List<String> getAutoCompleteList(String criteria);
+    abstract public List getAutoCompleteList(String criteria);
 
     // Public Methods ---------------------------------------------------------
 
@@ -457,7 +457,7 @@ public abstract class AutoCompleteTextFi
                 String contentType = getPage().getContentType();
                 partial.setContentType(contentType);
 
-                List<String> autocompleteList = getAutoCompleteList(getValue());
+                List autocompleteList = getAutoCompleteList(getValue());
                 if (autocompleteList != null) {
                     HtmlStringBuffer buffer = new HtmlStringBuffer(10 + (autocompleteList.size()
* 20));
                     renderAutoCompleteList(buffer, autocompleteList);
@@ -475,7 +475,7 @@ public abstract class AutoCompleteTextFi
      *
      * @param autoCompleteList the suggested list of auto completion values
      */
-    protected void renderAutoCompleteList(HtmlStringBuffer buffer, List<String> autoCompleteList)
{
+    protected void renderAutoCompleteList(HtmlStringBuffer buffer, List autoCompleteList)
{
 
         buffer.append("<ul>");
 



Mime
View raw message