Try to prepend a colon to the id (might help to make id "absolute"):

for=":lotExperimentForm:rep:0:wafer2"

Regards
Michael

-------- Original-Nachricht --------
> Datum: Thu, 8 Jul 2010 03:15:33 -0700 (PDT)
> Von: Digdas <[email protected]>
> An: [email protected]
> Betreff: t:selectOneRadio in a4j:repeat

> 
> With the following example, I am not able to find the "for" for the
> t:radio
> tag.
> 
>               <h:form id="lotExperimentForm">
>                       <a4j:repeat value="#{enumHelper.yesNo}" id="rep">
>                               <t:selectOneRadio id="wafer2" layout="spread">
>                                       <f:selectItem itemValue="test1" />
>                                       <f:selectItem itemValue="test2" />
> 
>                               </t:selectOneRadio>
>                       </a4j:repeat>
>                       <t:radio for="lotExperimentForm:rep:0:wafer2" 
> index="1"></t:radio>
>               </h:form>
> 
> 
> When I leave out the layout="spread" and the t:radio, and I inspect the
> source of the page, the id="lotExperimentForm:rep:0:wafer2".
> 
> How can I find out the id?
> 
> Without the a4j:repeat, the name of the id is simple:
> lotExperimentForm:wafer2. This works.
> -- 
> View this message in context:
> http://old.nabble.com/t%3AselectOneRadio-in-a4j%3Arepeat-tp29105396p29105396.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> 

Reply via email to