get selected row from af:table in backing bean
Hi Experts,
I have an af:table and i have seelctBoolean check box in that. If the user select 'x' nos of check boxes i want to display the row data of those selected rows. Can somebody help me in getting the selected row data in backing bean?
I am using adf faces and backing bean.
JSF Code:
<af:table value="#{demo.partyList}" var="row"
rowBandingInterval="0" binding="#{demo.t1}" id="t21"
rowSelection="multiple">
<af:column>
<af:selectBooleanCheckbox text="#{row.person_first_name}"
label="Label 1" id="sbc1"
/>
</af:column>
<af:column>
<af:inputText value="#{row.emirate}"/>
</af:column>
</af:table>
<af:commandButton action="#{demo.print}" text="Print"/>
BB Code:
public void print(){
// what code to write here
}