Why don't list your code and we can see if we can figure out what's wrong
with it :)

On Mon, Feb 27, 2012 at 1:58 AM, George Ludwig <georgelud...@gmail.com>wrote:

> I spent a couple of hours on this today, and learned that my understanding
> of Tapestry is not yet deep enough for me to make this work.
>
> Has anyone else done something similar? Code examples? I've searched, and
> haven't been able to find anything that makes sense to me.
>
> On Sat, Feb 25, 2012 at 1:10 AM, derkoe <
> tapestry.christian.koeb...@gmail.com> wrote:
>
> >
> > 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
> >
> >
>



-- 
*Regards,*
*Muhammad Gelbana
Java Developer*

Reply via email to