【发布时间】:2013-03-22 17:27:51
【问题描述】:
如何避免单选按钮上的多选,我使用了 apex:repeat 并且重复值绑定到控制器的包装类,但是当我选择单选按钮时,它允许多选。
下面是我的代码。
<apex:repeat value="{!availableSlosts}" var="as" id="eventlistId">
<tr>
<td><apex:selectRadio value="{!as.selectedEvent}">
<apex:selectOptions value="{!as.lstRadioValue}"/>
</apex:selectRadio>
</td>
<td>{!as.availDate}</td>
</tr>
</apex:repeat>
谢谢,
【问题讨论】: