This looks like it's 1.3, I'm on 1.2.6.

Is it 1.3?

Maybe AjaxEventBehavior(onchange) could help? 
It seems to be acting erratic though.

I can get to the  onEvent method on on button, but not the other.  Have
exactly the  same onEvent method set up on both radio buttons (which are
part of a radio group).



igor.vaynberg wrote:
> 
> see AjaxFormChoiceComponentUpdatingBehavior
> 
> -igor
> 
> 
> 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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-Ajax-behavior-on-radio-button-tf4238831.html#a12062792
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to