javascript - Select all values in p:selectManyCheckbox -
i´m dealing 1 problem, have p:selectmanycheckbox map 27 values, want select them. want have 1 selectmanycheckbox select values, don´t know how this.
i found solution in javascript use jsf don´t know how use primefaces or can use bean.
my code this
<p:selectmanycheckbox id="ufs" value="#{lojabean.pojo.ufsinss}" layout="grid" columns="4" styleclass="columnleft"> <f:selectitems value="#{lojabean.helper.estados}"/> <f:selectitem itemlabel="todas"/> </p:selectmanycheckbox> so how can this?
Comments
Post a Comment