users@woodstock.java.net

Re: autocomplete feature for textfield not working?

From: Felipe Jaekel <fkjaekel_at_gmail.com>
Date: Tue, 8 Apr 2008 09:42:22 -0300

Sorry the delay to reply

No, I didn't saw any other case where the text field wasn't rendered.

I use your previous autocomplete
version<http://blogs.sun.com/dmitry/entry/creating_autocomplete_entry_field_with>,
where I discard what the user typed and use the value he selected in the
drop down. It would be very useful if I could the same thing with the new
text field component.

Thanks,
Felipe

2008/4/4, Dmitry Kushner <Dmitry.Kushner_at_sun.com>:
>
> Felipe,
>
>
> Felipe Jaekel wrote:
>
> 2008/4/3, autozoom <cioni_mauro_at_yahoo.com>:
> >
> >
> > Now this seems to work
> > The listbox displaying the items is overlapped to the textfield, at
> > least in
> > Firefox.
>
>
> This happened with me too.
>
> i will be fixing this issue.
>
> Also, at FilteredOptions if I set MAX_LIMIT with 0 the text field is not
> rendered.
>
> The comment in the following line :
>
> public final int MAX_LIMIT= 20; //max limit of options to return, *0
> returns all*
>
> is misleading. It will actually returns 0-sized array in this case, if
> anything. And if no options are rendered, no autocomplete box is shown.
>
> Also, please note that FilteredOptions was a quick example, not part of
> Woodstock, not part of QA process, and is not supported. so I cannot
> guarantee it always works.... Do you see any other cases where the same
> problem shows up independent of FilteredOptions?
>
>
> Thanks for the help,
> Felipe
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net For
> additional commands, e-mail: users-help_at_woodstock.dev.java.net