Dear Experts,
I have jsf DataTable and checkbox problem
I have a List listCountries with fields: countryId & countryNm
<h:dataTable value="#{pLM0001.listCount
ries}"
var="f0001"
binding="#{pLM0001.htmlDat
aTableCoun
try}"
border="1">
<h:column>
<h:outputText value="#{f0001.countryid}"
></h:outpu
tText>
</h:column>
<h:column>
<h:outputText value="#{f0001.countryNm}"
></h:outpu
tText>
</h:column>
<h:column>
<h:selectBooleanCheckbox value="#{pLM0001.bolSelect
ed}">
</h:selectBooleanCheckbox>
</h:column>
</h:dataTable>
End users can pick the countries they want to select.
The problem is, how can I get which countries are selected?
I am still a rookie in jsf and java environment, please kindly help :).
Thanks in advance.
Start Free Trial