Re: No AjaxRadioChoice?

2008-03-21 Thread Timo Rantalaiho
On Thu, 20 Mar 2008, Michael Mehrle wrote:
 How come there is no AjaxRadioChoice? I would like to have my form
 updated cleared when one of my radio buttons is selected. What's the
 best way of doing this?

Add a suitable AjaxBehavior to it --- if you succeed, as it
seems to be difficult based on the earlier part of this 
thread :) AjaxFormChoiceComponentUpdatingBehavior and a Jira
issue concerning it was mentioned by Igor.

  
http://www.nabble.com/Problem-with-using-RadioGorup-and-AjaxEventBehavior-in-a-FormComponentPanel-td16165403.html

Ajax* versions of components are mostly just convenience 
classes that add a suitable Ajax behavior to the component.
When you get this working well with radio buttons, feel free
to submit it in a patch :)
  
Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

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



RE: No AjaxRadioChoice?

2008-03-21 Thread Michael Mehrle
Yes Timo - I saw that thread, which is why I was asking. I did in the
end add my own JS behavior per Igor's suggestion, which right now works
just fine :-)

Thanks!

Michael

-Original Message-
From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 21, 2008 1:56 PM
To: users@wicket.apache.org
Subject: Re: No AjaxRadioChoice?

On Thu, 20 Mar 2008, Michael Mehrle wrote:
 How come there is no AjaxRadioChoice? I would like to have my form
 updated cleared when one of my radio buttons is selected. What's the
 best way of doing this?

Add a suitable AjaxBehavior to it --- if you succeed, as it
seems to be difficult based on the earlier part of this 
thread :) AjaxFormChoiceComponentUpdatingBehavior and a Jira
issue concerning it was mentioned by Igor.

 
http://www.nabble.com/Problem-with-using-RadioGorup-and-AjaxEventBehavio
r-in-a-FormComponentPanel-td16165403.html

Ajax* versions of components are mostly just convenience 
classes that add a suitable Ajax behavior to the component.
When you get this working well with radio buttons, feel free
to submit it in a patch :)
  
Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

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


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