jsf - Primefaces datatable: multiple selection list is in another list -
i have question, how map datatable multiple selecion in list element of list:
<p:datatable id="subdatatable#{index}" value="#{objectbean.subdatamodels.get(index)}" selection="#{objectbean.selectedlists.get(index)}" var="subrowtable" rowkey="#{subrowtable.primarykeyobj.tostring()}">
with index
int variable, , in objectbean
private list<list<object>> subdatamodels; // , getter, setter private list<list<object>> selectedlists; // , getter, setter
i got error:
javax.faces.facesexception: multiple selection reference must array or list datatable
i need solution case or related topic it. help.
Comments
Post a Comment