try this one: <h:dataTable var="row" value="#{data.rows}"> <h:column> <t:selectOneRadio id="selectRadio" forceId="true" forceIdIndex="false" value="#{data.selectedRowId}"> <f:selectItem itemValue="#{row.id}" itemLabel="" /> </t:selectOneRadio> </h:column> </h:dataTable>
you have to use forceId="true" forceIdIndex="false" and provide an id for the selectOneRadio Please note: There could be bug with this in the current release 1.1.0. Try using the latest nightly if you have problems with it. 2005/9/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > I'm using a datatable to display a Database Query. > While I'm iterating through the list, there should be an SelectOneReadio > Component in each row. > The user then should have the possibility to click on the SelectOneRadio > Buttons to select one of the datatable entries for a detailed display > (therefore he must then click the Button ShowDetails) > > The problem now is, that I can click every RadioButton in the list, although > it should be possible to click only one. > In old plain html you had to give the radio Buttons the same "NAME" > Attribute. But in JSF there is not such a attribute. > > How can I do that to implement a Master-Detail Display for my entry. > I know, that I can display a "ShowDetailButton" for every entry in the list, > but I actually don't want that. > > That you know, what I mean, here a screenshoot. > > > > Thx for help > Regards, > Andy -- Mathias