WW-2226 resultsLimit attribute set to -1 in autocompleter tag is ignored. Set the type of resultsLimit to Integer

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@720918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Musachy Barroso
2008-11-26 17:06:40 +00:00
parent 5ecfccb0ed
commit 9407fe5e30
@@ -506,7 +506,7 @@ public class Autocompleter extends ComboBox {
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;
}