Author: musachy
Date: Wed Nov 26 09:06:40 2008
New Revision: 720918

URL: http://svn.apache.org/viewvc?rev=720918&view=rev
Log:
WW-2226 resultsLimit attribute set to -1 in autocompleter tag is ignored. Set 
the type of resultsLimit to Integer

Modified:
    
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java?rev=720918&r1=720917&r2=720918&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
 Wed Nov 26 09:06:40 2008
@@ -506,7 +506,7 @@
         this.valueNotifyTopics = valueNotifyTopics;
     }
     
-    @StrutsTagAttribute(description="Limit how many results are shown as 
autocompletion options, set to -1 for unlimited results", defaultValue="30")
+    @StrutsTagAttribute(description="Limit how many results are shown as 
autocompletion options, set to -1 for unlimited results", defaultValue="30", 
type = "Integer")
     public void setResultsLimit(String resultsLimit) {
         this.resultsLimit = resultsLimit;
     }


Reply via email to