Hi
I need a datatable with selectOnRadio (wich select row)
There is someone who have already do it?
thanks
i ve try this, but unsucess..
<a4j:outputPanel>
<rich:dataTable id="p" var="wphoto" value="#{fileUploadBean.photos}">
<rich:column id="idExport">
<h:selectOneRadio value="#{fileUploadBean.selection}">
<f:selectItem itemValue="#{wphoto.photo.photoId}" />
<a4j:support event="onclick" action="#{fileUploadBean.selectionUnique}" reRender="p" />
</h:selectOneRadio>
</rich:column>
</rich:dataTable>
</a4j:outputPanel>
http://balusc.blogspot.com/2006/06/using-datatables.html#SelectRowByRadioButton explains in detail how this could be accomplished. It has worked really well for me. Thanks to Bauke.