users@woodstock.java.net

Re: autocomplete feature for textfield not working?

From: Felipe Jaekel <fkjaekel_at_gmail.com>
Date: Tue, 1 Apr 2008 09:00:13 -0300

I'd like to use this feature too.

Has anyone got it working?

2008/4/1, autozoom <cioni_mauro_at_yahoo.com>:
>
>
> 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
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>