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