Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-14 Thread Cliff Pereira
Hi Igor, I found some strange behavior extending my code. The RadioChoice works perfect now. It changes the label beneath it depending on the selection. But now if I additionally add a RequiredTextField it won't change until something is written into the textfield. Is that the intention of a

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-14 Thread Igor Vaynberg
that happens because if you dont put anything into requiredtextfield the validation of the form fails. like i said before, what you want is formcomponentupdatingbehavior, but radiochoice doesnt support that because it is a quasi component (single component representing a bunch of html

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-12 Thread Cliff Pereira
Hi Igor, thanks for the hint. This works perfect! I still don't no why it works with the SubmitBehavior, because in my eyes it actually is a change and therefore an update and not a submit, but thanks again. Can I use the same thing for Input validation on an inputfield or something similar?

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-12 Thread Igor Vaynberg
there is an example in wicket-examples/ajax that shows ajaxified form validation -igor On 1/12/07, Cliff Pereira [EMAIL PROTECTED] wrote: Hi Igor, thanks for the hint. This works perfect! I still don't no why it works with the SubmitBehavior, because in my eyes it actually is a change and

[Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Cliff Pereira
Hello Mailinglist, We just started a project using the wicket framework. It's working so far and we want to add some AJAX behaviour to our project. But nothing really works. I've made an example with a radio choice and a label that should actually change it's content on selectionChange of the

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Igor Vaynberg
lets see your code -igor On 1/11/07, Cliff Pereira [EMAIL PROTECTED] wrote: Hello Mailinglist, We just started a project using the wicket framework. It's working so far and we want to add some AJAX behaviour to our project. But nothing really works. I've made an example with a radio choice

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Matej Knopp
I'm not wrong we don't support (yet) the ajax update on radio selection. -Matej Cliff Pereira wrote: Hello Mailinglist, We just started a project using the wicket framework. It's working so far and we want to add some AJAX behaviour to our project. But nothing really works. I've made an

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Cliff Pereira
ups, sorry. Totally forgot that :-) 2007/1/11, Igor Vaynberg [EMAIL PROTECTED]: lets see your code -igor On 1/11/07, Cliff Pereira [EMAIL PROTECTED] wrote: Hello Mailinglist, We just started a project using the wicket framework. It's working so far and we want to add some AJAX

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Igor Vaynberg
if he is using wantonselectionchangednotification he is not using ajax :) -igor On 1/11/07, Matej Knopp [EMAIL PROTECTED] wrote: I'm not wrong we don't support (yet) the ajax update on radio selection. -Matej Cliff Pereira wrote: Hello Mailinglist, We just started a project using the

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Cliff Pereira
ok, so far I managed to change the label without page reload. And without wantonselectionchangednotification! My only problem now is how do I know which of the three radio options is selected? Is there any way to determine that? Thanks in advance once again! Cliff 2007/1/11, Igor Vaynberg

Re: [Wicket-user] Ajax Behaviour on RadioChoice

2007-01-11 Thread Igor Vaynberg
im surprised your protected void onUpdate(AjaxRequestTarget target) is even called! try using AjaxFormSubmitBehavior instead of the formcomponentupdating one. -igor On 1/11/07, Cliff Pereira [EMAIL PROTECTED] wrote: ok, so far I managed to change the label without page reload. And without