Hi
I am using data table to display a table and the code is
<h:dataTable var="tblVal" value="#{myBean.rowList}" >
<h:column>
<h:outputText value="#{tblVal.value}" />
</h:column>
<h:column>
<h:selectOneRadio>
<f:selectItems value="#{myBean.columnList}" />
</h:selectOneRadio>
</h:column>
</h:dataTable>
which displays table like
US UK UAE
Tic radiobutton radiobutton radiobutton
Tac radiobutton radiobutton radiobutton
Toe radiobutton radiobutton radiobutton
my problem is how can I get values of selected radio button??
myBeean contains
private List<SelectItem> rowList;//with getter
private List<SelectItem> columnList;//with getter
how can i get selected row whose radio button is clicked??
Please help!!!!
Thanks
Chhaya