This content has been marked as final.
Show 1 reply
-
1. Re: How to select several rows and perform an action on all
akira_ag Sep 7, 2007 10:01 AM (in response to jeje47)Yes, you can do:
<h:form> <rich:datatable ... var="item"> ... <rich:row> <h:selectBooleanCheckbox value="#{MyBean.forActionCollection[item.id]"/> </rich:row> ... </h:form> </h:form>
and MyBean:public class MyBean { ... private Collection<Integer,Boolean> forActionCollection = new ArrayList<Integer,Boolean>(); ... }