I have a strange problem that my actions doesn't work at all if i put radio button in Data Table as shown below:
Code:
<ice:selectOneRadio id="selectApp" layout="spread" value="#{applicationBean.selectedApp}" >
<f:selectItem itemValue=""/>
</ice:selectOneRadio>
<ice:dataTable id="applicationsDataTable"
value="#{applicationBean.appProfiles}"
var="appProfile"
rows="10" border="1">
<ice:column id="select">
<f:facet name="header">
<ice:outputText value="Select"></ice:outputText>
</f:facet>
<ice:radio for="selectApp" >
<f:param id="selectedApp" name="selectedAppId" value="#{appProfile.pkAppId}"/>
</ice:radio>
</ice:column>
But if i comment this code then every thing works fine:
Code:
<ice:selectOneRadio id="selectApp" layout="spread" value="#{applicationBean.selectedApp}" >
<f:selectItem itemValue=""/>
</ice:selectOneRadio>
and
Code:
<ice:radio for="selectApp" >
<f:param id="selectedApp" name="selectedAppId" value="#{appProfile.pkAppId}"/>
</ice:radio>
Could anyone please let me know what am i doing wrong?
Thanks,