Selecting single checkbox from many checkbox using <h:selectBooleanCheckbox>

Hi,

I am using my <h:dataTable> like this,

<h:dataTable class="adresstable"

value="#{pmsBillingCodeWebGuiListBean.patientDisplayList}" var="patient">

<h:column id="delete">

<f:facet name="header">

<h:outputText value=" Select " />

</f:facet>

<h:selectBooleanCheckbox value="#{patient.select}" />

</h:column>

</h:dataTable>

But, when i run my page, i want to select only one checkbox at a time instead of selecting multiple checkbox.

How to resolve this.........

Thanks,

Vinutha.

[623 byte] By [vinuthamla] at [2007-11-27 1:37:47]
# 1
You want to let the checkbox (allows multiple selection) behave as a radio button (allows single selection) ?Anyway, using h:selectOneRadio in a dataTable is still a bit tricky. Check http://balusc.xs4all.nl/srv/dev-jep-dat.html for an example.
BalusCa at 2007-7-12 0:48:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...