You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Christian Dutaret <cd...@gmail.com> on 2006/11/07 11:02:16 UTC

Re: RadioGroup component

Any update on this bug?
It seems the problem appeared after
http://issues.apache.org/jira/browse/TAPESTRY-810 was fixed.
The problem is also described in
http://issues.apache.org/jira/browse/TAPESTRY-983, although I don't think it
affects version 4.0.2, as stated, but rather 4.1.x only.
If I may rephrase the problem for more clarity:

<span jwcid="rd@RadioGroup">
  <span jwcid="@Radio" id="userSuppliedId">
</span>

renders as:

<input type="radio" id="rd0" name="..." id="userSuppliedId"/>

This double client ID prevents any custom js to act on the radio inputs.

Thanks
Ch.

2006/9/19, Christian Dutaret <cd...@gmail.com>:
>
> User-supplied id attributes in @Radio components are not rendered properly
> in Tap4.1. Both the user-supplied id and a RadioGroup id are rendered:
> <input type="radio" name="RadioGroup" id="RadioGroup0" value="0"
> id="myId"/>
>
> This was working fine with Tap4.0.2
>
> Ch.
>
> 2006/9/15, andyhot <an...@di.uoa.gr>:
> >
> > They are in a group. They are supposed to have the same name.
> >
> > If you supply an 'id' parameter for each, you can use
> > document.getElementById() later on.
> >
> > Peter Dawn wrote:
> > > sorry guys incomplete message, am sending it again,
> > >
> > > how can i reference each radio element within a radiogroup. if my
> > > implementation is this,
> > > <span jwcid="test@RadioGroup">
> > > <input type="radio" jwcid="@Radio">
> > > <input type="radio" jwcid="@Radio">
> > > </span>
> > >
> > > how can i name each individual radio elements. if i use test2@Radio,
> > > the name is still RadioGroup and if use test@RadioGroup the individual
> > > radios are test each. but i want to reference them individually.
> > >
> > > anybody know how to do this. and i am using tap3. thanks.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
> >
> > --
> > Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
> > Tapestry / Tacos developer
> > Open Source / J2EE Consulting
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>