You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/11/21 20:43:23 UTC

svn commit: r1412250 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java

Author: lofwyr
Date: Wed Nov 21 19:43:22 2012
New Revision: 1412250

URL: http://svn.apache.org/viewvc?rev=1412250&view=rev
Log:
TOBAGO-1217: Input-suggest: Make the number of characters to open the list configurable

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java?rev=1412250&r1=1412249&r2=1412250&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasSuggestMethod.java Wed Nov 21 19:43:22 2012
@@ -23,9 +23,6 @@ import org.apache.myfaces.tobago.apt.ann
 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
 
-/**
- * $Id$
- */
 public interface HasSuggestMethod {
 
   /**
@@ -42,4 +39,21 @@ public interface HasSuggestMethod {
       methodReturnType = "java.lang.Object")
   void setSuggestMethod(String suggestMethod);
 
+  /**
+   * Minimum number of chars to type before the list will be requested.
+   *
+   * @since 1.5.9 and 1.6.0
+   */
+  @TagAttribute
+  @UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "1")
+  void setSuggestMinChars(String suggestMinChars);
+
+  /**
+   * Time in milli seconds before the list will be requested.
+   *
+   * @since 1.5.9 and 1.6.0
+   */
+  @TagAttribute
+  @UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "300")
+  void setSuggestDelay(String suggestDelay);
 }