click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Antunes <rodrigoantu...@yahoo.com.br>
Subject Problem with AutoCompleteTextField
Date Mon, 05 Jan 2009 14:16:17 GMT
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?


Mime
View raw message