First of all , thank you for your answers.
I thought that taking an action over other components when the radio is
clicked was a so common problem that a mixin or a similar component had been
already deveolped.

Well, i will do it using pure javascript.
If anyone has another idea, please write to me!

Good Luck!
Leandro

2011/2/23 Josh Canfield <joshcanfi...@gmail.com>

> > I do not find an event dispatched by the Radio allowing me to update the
> > "disabled" property of the select and textInput from my java code.
>
> Why do you need an event? Use the value bound to the radio button as
> the value of the disabled parameter.
>
> If you want to dynamically change the form the you need to fall back
> to good ol' javascript. Try observing onchange on the radio button.
>
> Josh
>
> On Wed, Feb 23, 2011 at 9:52 AM,  <leandroaisp...@gmail.com> wrote:
> > Hi everyone,
> > I am having a problem with a page that has two Radio buttons, a Select
> and a
> > TextInput.
> > I need the Select or the TextInput to be disabled depending on the Radio
> > that has been clicked.
> > What is the best way to do it?
> > I do not find an event dispatched by the Radio allowing me to update the
> > "disabled" property of the select and textInput from my java code.
> >
> > Thanks in advance!
> > Leandro
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to