ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Hi Team,

I am looking for a dropdown list that narrows down based on what is typed
and Loads the values from the database as the user types. Something like the
dropdown in visural wicket
http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
the values.  My other option is the create a Lookup
value dialog box but i would like to avoid this .

Any suggestion is welcome.

Regards.
Josh


Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
It's called a auto-complete:

http://wicketstuff.org/wicket14/ajax/autocomplete


On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com wrote:
 Hi Team,

 I am looking for a dropdown list that narrows down based on what is typed
 and Loads the values from the database as the user types. Something like the
 dropdown in visural wicket
 http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
 the values.  My other option is the create a Lookup
 value dialog box but i would like to avoid this .

 Any suggestion is welcome.

 Regards.
 Josh


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



Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
I have looked at the autocomplete box that you have suggested. The issue i
have with it is that if i type some text that appears in the middle , it
wont be looked up. If for example am looking for United Arabs Emirates, i
cant look up by  typing Arabs. I have to start by typing United. get my
point?

On Mon, Oct 11, 2010 at 11:24 AM, James Carman
ja...@carmanconsulting.comwrote:

 It's called a auto-complete:

 http://wicketstuff.org/wicket14/ajax/autocomplete


 On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com wrote:
  Hi Team,
 
  I am looking for a dropdown list that narrows down based on what is typed
  and Loads the values from the database as the user types. Something like
 the
  dropdown in visural wicket
  http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
  the values.  My other option is the create a Lookup
  value dialog box but i would like to avoid this .
 
  Any suggestion is welcome.
 
  Regards.
  Josh
 

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




Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
The lookup functionality is provided by you.  You can do whatever you
want with the input.  Look at the example and implementation of the
getChoices() method.  It would be trivial to change it to do a
contains rather than startsWith search.


On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau joshnet2...@gmail.com wrote:
 I have looked at the autocomplete box that you have suggested. The issue i
 have with it is that if i type some text that appears in the middle , it
 wont be looked up. If for example am looking for United Arabs Emirates, i
 cant look up by  typing Arabs. I have to start by typing United. get my
 point?

 On Mon, Oct 11, 2010 at 11:24 AM, James Carman
 ja...@carmanconsulting.comwrote:

 It's called a auto-complete:

 http://wicketstuff.org/wicket14/ajax/autocomplete


 On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com wrote:
  Hi Team,
 
  I am looking for a dropdown list that narrows down based on what is typed
  and Loads the values from the database as the user types. Something like
 the
  dropdown in visural wicket
  http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
  the values.  My other option is the create a Lookup
  value dialog box but i would like to avoid this .
 
  Any suggestion is welcome.
 
  Regards.
  Josh
 

 -
 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



Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Thanks James.

Let me look at it.

Seems like there is always an answer with wicket.

Regards.
Josh

On Mon, Oct 11, 2010 at 11:35 AM, James Carman
ja...@carmanconsulting.comwrote:

 The lookup functionality is provided by you.  You can do whatever you
 want with the input.  Look at the example and implementation of the
 getChoices() method.  It would be trivial to change it to do a
 contains rather than startsWith search.


 On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau joshnet2...@gmail.com wrote:
  I have looked at the autocomplete box that you have suggested. The issue
 i
  have with it is that if i type some text that appears in the middle , it
  wont be looked up. If for example am looking for United Arabs Emirates, i
  cant look up by  typing Arabs. I have to start by typing United. get my
  point?
 
  On Mon, Oct 11, 2010 at 11:24 AM, James Carman
  ja...@carmanconsulting.comwrote:
 
  It's called a auto-complete:
 
  http://wicketstuff.org/wicket14/ajax/autocomplete
 
 
  On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
   Hi Team,
  
   I am looking for a dropdown list that narrows down based on what is
 typed
   and Loads the values from the database as the user types. Something
 like
  the
   dropdown in visural wicket
   http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
   the values.  My other option is the create a Lookup
   value dialog box but i would like to avoid this .
  
   Any suggestion is welcome.
  
   Regards.
   Josh
  
 
  -
  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




Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Just did it.

It worked just as i wanted.

Thanks.

On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Thanks James.

 Let me look at it.

 Seems like there is always an answer with wicket.

 Regards.
 Josh


 On Mon, Oct 11, 2010 at 11:35 AM, James Carman ja...@carmanconsulting.com
  wrote:

 The lookup functionality is provided by you.  You can do whatever you
 want with the input.  Look at the example and implementation of the
 getChoices() method.  It would be trivial to change it to do a
 contains rather than startsWith search.


 On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
  I have looked at the autocomplete box that you have suggested. The issue
 i
  have with it is that if i type some text that appears in the middle , it
  wont be looked up. If for example am looking for United Arabs Emirates,
 i
  cant look up by  typing Arabs. I have to start by typing United. get my
  point?
 
  On Mon, Oct 11, 2010 at 11:24 AM, James Carman
  ja...@carmanconsulting.comwrote:
 
  It's called a auto-complete:
 
  http://wicketstuff.org/wicket14/ajax/autocomplete
 
 
  On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
   Hi Team,
  
   I am looking for a dropdown list that narrows down based on what is
 typed
   and Loads the values from the database as the user types. Something
 like
  the
   dropdown in visural wicket
   http://wicket.visural.net/examples/app/dropdownbut doesnt preload
 all
   the values.  My other option is the create a Lookup
   value dialog box but i would like to avoid this .
  
   Any suggestion is welcome.
  
   Regards.
   Josh
  
 
  -
  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





Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
No problem.  Glad to help.  Happy Wicketeering!

On Mon, Oct 11, 2010 at 4:44 AM, Josh Kamau joshnet2...@gmail.com wrote:
 Just did it.

 It worked just as i wanted.

 Thanks.

 On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Thanks James.

 Let me look at it.

 Seems like there is always an answer with wicket.

 Regards.
 Josh


 On Mon, Oct 11, 2010 at 11:35 AM, James Carman ja...@carmanconsulting.com
  wrote:

 The lookup functionality is provided by you.  You can do whatever you
 want with the input.  Look at the example and implementation of the
 getChoices() method.  It would be trivial to change it to do a
 contains rather than startsWith search.


 On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
  I have looked at the autocomplete box that you have suggested. The issue
 i
  have with it is that if i type some text that appears in the middle , it
  wont be looked up. If for example am looking for United Arabs Emirates,
 i
  cant look up by  typing Arabs. I have to start by typing United. get my
  point?
 
  On Mon, Oct 11, 2010 at 11:24 AM, James Carman
  ja...@carmanconsulting.comwrote:
 
  It's called a auto-complete:
 
  http://wicketstuff.org/wicket14/ajax/autocomplete
 
 
  On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
   Hi Team,
  
   I am looking for a dropdown list that narrows down based on what is
 typed
   and Loads the values from the database as the user types. Something
 like
  the
   dropdown in visural wicket
   http://wicket.visural.net/examples/app/dropdownbut doesnt preload
 all
   the values.  My other option is the create a Lookup
   value dialog box but i would like to avoid this .
  
   Any suggestion is welcome.
  
   Regards.
   Josh
  
 
  -
  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





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