you could probably go with an all javascript solution, although i don't know if that confuses client- and serverside state. so, when a radiobutton gets clicked, you enable the particular component and disable the other.
gerolf On 8/8/07, jq58 <[EMAIL PROTECTED]> wrote: > > > I have a 2 radio buttons that enable a dropdown and a text field > respectively. Thus, depending on which radio button is selected, either > the > dropdown or the text field is enabled. > > Thus I need ajax capability when a radio button is selected, but evidently > this can't happen in Wicket, because, for some reason, the radio button is > not a FormComponent (new AjaxFormComponentUpdatingBehavior(), not new > AjaxComponentUpdatingBehavior() is available). > > What is the best way to get around this? > > -- > View this message in context: > http://www.nabble.com/Adding-Ajax-behavior-on-radio-button-tf4238831.html#a12061159 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >