users@woodstock.java.net

autocomplete feature for textfield not working?

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Tue, 1 Apr 2008 03:23:06 -0700 (PDT)

hello,
I tried the autocomplete function in 4.2 build 5, like this:

<webuijsf:textField autoComplete="true" id="textField1" style="position:
absolute; left: 180px; top: 252px"
                        autoCompleteExpression ="#{Page1.getOptions}"/>

where

public Option[] getOptions(String filter) {
         Option[] ret = new Option[3];
         
         ret[0] = new Option(1L, "uno");
         ret[1] = new Option(2L, "due");
         ret[2] = new Option(3L, "tre");
         
         return ret;
}

but nothing happens when typing in the textfield; it doesn't seem to be a
problem of code, it just doesn't fire any ajax call when typing

what am I missing?
-- 
View this message in context: http://www.nabble.com/autocomplete-feature-for-textfield-not-working--tp16417716p16417716.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.