try attaching a AjaxFormComponentUpdatingBehavior to your textfield and repaint the listchoice
regards dipu On Thu, Jul 10, 2008 at 3:38 PM, taygolf <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I have a question for yall. I want to have a listchoice that holds a list > of > options that can be selected by the user. Then I want to have an optional > textfield. IF the textfield is blank I want all choices to show up in the > listchoice. If it is not blank I want to filter the choices in the > listchoice by the text that is typed in the textfield. I also want this to > happen as the user types in the textfield so I want to us ajax. > > Is this possible with wicket? I have looked at the autocompletetextfiled > and > it does some of the stuff that I want to do but it also allows the user to > type whatever they want to type and I want to force the user to select an > option from the list of choices. > > Any help would be greatly appreciated > > Thanks > > T > -- > View this message in context: > http://www.nabble.com/listchoice-filtered-by-textfield-ajax-help-tp18384359p18384359.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >