georgeludwig wrote
> 
> I was able to get a Select with zone to trigger an onValueChangedFrom...
> event, and now I want to do the same thing with a radio group.
> 
> After flailing away for a couple of hours, I consulted the documentation
> and noted that the Select component indicates it will use the zone param
> to
> trigger an org.apache.tapestry5.EventConstants#VALUE_CHANGED event.
> However, neither Radio nor Radio Group have that in the doc.
> 
> So I'm guessing my code isn't working because Radio Group doesn't
> support zones. Is this correct, and if so, are there plans to support it?
> Is there an alternate approach by using a zone for the form containing the
> radio button?
> 

You're right Radio/RadioGroup does not support this. But you can implement
it yourself with a Mixin - look at the Code of the Select component and
extract the JS/Ajax stuff into the Mixin. Then apply the Mixin to your Radio
or RadioGroup.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Is-it-possible-to-use-Zone-with-Radio-Group-to-trigger-an-onValueChangedFrom-tp5514257p5514833.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to