Re: AutocompleteTextField and tab key

2009-01-20 Thread Igor Vaynberg
you will probably have to tweak some javascript to get it to do what
you want. you can also create an RFE in jira to make these keys
configurable.

-igor

On Tue, Jan 20, 2009 at 6:48 PM, Toscano  wrote:
>
> Hello,
>
> I'm trying to develop the suggestions gmail uses when inputting one email
> address. So I used one AutocompleteTextField that populates the possible
> values from the database nicely, but I can not make the model changing
> correctly if the users doesn't press the Enter key or click in the option.
>
> For example, I start typing my name: Oskar, when I typed 'Os', the
> autocomplete field founds my name, then I select it with the cursor keys and
> press the tab button for going to the next field in the form, but the model
> is still 'Os', not the complete 'Oskar' name I selected before pressing tab
> key.
>
> If I do the same, but I press 'Enter' instead, then it works nicely.
> --
> View this message in context: 
> http://www.nabble.com/AutocompleteTextField-and-tab-key-tp21576195p21576195.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AutocompleteTextField and tab key

2009-01-20 Thread Toscano

Hello,

I'm trying to develop the suggestions gmail uses when inputting one email
address. So I used one AutocompleteTextField that populates the possible
values from the database nicely, but I can not make the model changing
correctly if the users doesn't press the Enter key or click in the option.

For example, I start typing my name: Oskar, when I typed 'Os', the
autocomplete field founds my name, then I select it with the cursor keys and
press the tab button for going to the next field in the form, but the model
is still 'Os', not the complete 'Oskar' name I selected before pressing tab
key.

If I do the same, but I press 'Enter' instead, then it works nicely.

Thank you always for all your help and time,
Oskar
-- 
View this message in context: 
http://www.nabble.com/AutocompleteTextField-and-tab-key-tp21576199p21576199.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AutocompleteTextField and tab key

2009-01-20 Thread Toscano

Hello,

I'm trying to develop the suggestions gmail uses when inputting one email
address. So I used one AutocompleteTextField that populates the possible
values from the database nicely, but I can not make the model changing
correctly if the users doesn't press the Enter key or click in the option.

For example, I start typing my name: Oskar, when I typed 'Os', the
autocomplete field founds my name, then I select it with the cursor keys and
press the tab button for going to the next field in the form, but the model
is still 'Os', not the complete 'Oskar' name I selected before pressing tab
key.

If I do the same, but I press 'Enter' instead, then it works nicely.
-- 
View this message in context: 
http://www.nabble.com/AutocompleteTextField-and-tab-key-tp21576195p21576195.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org