Hi Steve,

you can try move the t:selectOneRadio out of the datatable (e.g. as
facet into f:view) and use absolute ids at the t:radio tags.

see this thread
http://www.mail-archive.com/[email protected]/msg16561.html

Regards,
 Volker

2007/3/26, Steve Torrefranca <[EMAIL PROTECTED]>:
Hi Volker,

Removing the f:verbatim did not fix the problem.

Could the problem be related to index and for?  I have seen some
examples having for=":string:string" and index="#{index}" but  I dont
exactly know how they work.

Thank you.

-Steve

Volker Weber wrote:
> Hi,
>
> what should this f:verbatim do?
>
> there is NO t:selectOneRadio component in your view, just a string
> inside the verbatim.
>
> afaik you can just put the t:selectOneRadio direct into the datatable,
> or better
> replace the verbatim with f:facet.
>
> Regards,
>  Volker
>
> 2007/3/23, Steve Torrefranca <[EMAIL PROTECTED]>:
>> Hi,
>>
>> I have been trying to make t:radio work.  Although I was able to build
>> this view (t;radio inside a t:dataTable)
>>
>> O radio1   |  text1 | O radio2    | O radio3
>> O radio1   |  text2 | O radio2    | O radio3
>> O radio1   |  text3 | O radio2    | O radio3
>> O radio1   |  text4 | O radio2    | O radio3
>>
>> But I could not bind the values.
>>
>>
>> Here is my code
>>
>> <t:dataTable value="#{detailLeadForm.activities}" var="activities">
>>     <f:verbatim>
>>         <t:selectOneRadio id="actionchoice"
>> value="#{activities.activityFlag}" layout="spread" >
>>             <f:selectItem itemValue="Sched" itemLabel="Sched" />
>>             <f:selectItem itemValue="Erase" itemLabel="Erase" />
>>             <f:selectItem itemValue="Done" itemLabel="Done" />
>>         </t:selectOneRadio>
>>     </f:verbatim>
>>
>>     <t:column>
>>             <t:radio for="actionchoice" index="0" />
>>     </t:column>
>>     <t:inputText value="#{activities.activityFlag}" />
>>     <t:column>
>>             <t:radio for="actionchoice" index="1" />
>>     </t:column>
>>     <t:column>
>>             <t:radio for="actionchoice" index="2" />
>>     </t:column>
>> </t:dataTable>
>>
>> How should I handle my t:radio index and for?
>>
>> Thank you
>>
>> -Steve
>>
>


Reply via email to