Re: autocomplete: no popup when field is empty

2008-04-23 Thread Gabriel Erzse
Done: https://issues.apache.org/jira/browse/WICKET-1562

Thanks,
Gabi.


- Original Message 
From: Gerolf Seitz <[EMAIL PROTECTED]>
To: users@wicket.apache.org
Sent: Wednesday, April 23, 2008 5:26:13 PM
Subject: Re: autocomplete: no popup when field is empty

nah, i think this should be pretty straight forward.
let me take a look.

Gabriel, can you file a jira issue for that? thanks.

Gerolf

On Wed, Apr 23, 2008 at 4:14 PM, Johan Compagner <[EMAIL PROTECTED]>
wrote:

> I guess this is being done because when nothing is typed there is normally
> no list?
>
> Gerolf do you see any problem making this configurable so that it does
> show
> always a list if there are values?
>
> johan
>
>
> On Wed, Apr 23, 2008 at 2:53 PM, Gabriel Erzse <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
> >
> > I am using the autocomplete feature of Wicket, and I would like the user
> > to see the entire list of available values when the input field is
> empty.
> > Then, as he starts typing values in the input field, the list of values
> will
> > narrow down.
> >
> > However I see that when the input field is empty, the popup for
> > autocomplete is not displayed (for example when I press down arrow). I
> > searched in the wicket code and I saw that in file
> "wicket-autocomplete.js",
> > in function "doUpdateChoices" there are two checks for the situation
> when
> > the input field is empty. These checks don't allow for the popup to be
> > visible.
> >
> > So, my questions would be: does anyone know why this was done so, and
> can
> > I somehow disable this behavior? I would find it really useful to be
> able to
> > display a list of values even when the input field is empty.
> >
> > Thank you,
> > Gabi.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



autocomplete: no popup when field is empty

2008-04-23 Thread Gabriel Erzse
Hi,

I am using the autocomplete feature of Wicket, and I would like the user to see 
the entire list of available values when the input field is empty. Then, as he 
starts typing values in the input field, the list of values will narrow down.

However I see that when the input field is empty, the popup for autocomplete is 
not displayed (for example when I press down arrow). I searched in the wicket 
code and I saw that in file "wicket-autocomplete.js", in function 
"doUpdateChoices" there are two checks for the situation when the input field 
is empty. These checks don't allow for the popup to be visible.

So, my questions would be: does anyone know why this was done so, and can I 
somehow disable this behavior? I would find it really useful to be able to 
display a list of values even when the input field is empty.

Thank you,
Gabi.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]