I'm having problem with AutoCompleteTextField. I saw the example in
http://www.avoka.com/click-examples/ajax/auto-complete.htm but it didn't work.
AutoCompleteTextField postCodeField = new AutoCompleteTextField("postCode") {
public List getAutoCompleteList(String criteria) {
return getPostCodeService().getPostCodeLocations(criteria);
}
};
postCodeField.setSize(40);
I implemented a method that receives the String criteria and returns a list.
I didn't understand when the object AutoCompleteTextField calls the method
getAutoCompleteList.
Someone can help me?