Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-08-13 Thread jq58
Yep, that did it. Still a little confused as to why the onchange did not work. Thanks to everyone for their suggestions. Alex Objelean wrote: You mean that in IE you have to click twice? Use onclick event instead... jq58 wrote: This works to an extent. It appears that

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-08-13 Thread Igor Vaynberg
because browsers suck :) -igor On 8/13/07, jq58 [EMAIL PROTECTED] wrote: Yep, that did it. Still a little confused as to why the onchange did not work. Thanks to everyone for their suggestions. Alex Objelean wrote: You mean that in IE you have to click twice? Use onclick event

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-08-10 Thread Alex Objelean
You mean that in IE you have to click twice? Use onclick event instead... jq58 wrote: This works to an extent. It appears that sometimes (totally random as far as I can tell) I have to click twice to get it to actually invoke the ajax action. But, once it is invoked, I am trying to

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-08-09 Thread jq58
This works to an extent. It appears that sometimes (totally random as far as I can tell) I have to click twice to get it to actually invoke the ajax action. But, once it is invoked, I am trying to enable the drop down and disable the text box via: [code] private void setupAjaxRadio(final

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-17 Thread Alex Objelean
Thank you Tong, interesting approach. I make it work for me by adding AjaxFormSubmitingBehavior to the Radio component, just to keep in synch the model with the RadioGroup state. But your solution is more elegant. Kent Tong wrote: Alex Objelean alexandru.objelean at isdc.ro writes:

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-16 Thread Kent Tong
Alex Objelean alexandru.objelean at isdc.ro writes: Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. Try: Form f = ...; RadioGroup rg2 = new RadioGroup(rg2, ...); rg2.setOutputMarkupId(true); setupAjaxRadio(f, rg2, new Radio(r3, new Model(abc)));

[Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Alex Objelean
Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because it does not extend the FormComponent, but a WebMarkupContainer. Thank you! -- View this message in context:

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Alex Objelean
Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. Jan Kriesten-3 wrote: hi alex, Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because it does not extend the FormComponent, but a WebMarkupContainer. i've got a similar issue and this topic is

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. actually, if you're up to building it from the sources yourself, modifying Radio to work as you expect is pretty easy. just remove the 'final' from FromComponent.getValue() and let Radio extend