Problem using checkbox in datatable

I want to use as a column in datateble and I have my code            

</ice:checkbox>

</ice:column>

      

but i got this error: "java.lang.IllegalStateException: Could not find UISelectMany item for checkbox."

can anyone help me and tell me this is the correct way to use checkbox in dataTable

0


a source to share


1 answer


Have you tried using something like

<ice:column>

    </ice:checkbox value="#{BEAN.ATTRIBUTE}"></ice:checkbox>

</ice:column>

      



Be sure to define the BEAN in Faces-config.xml as a managed BEAN, and the attribute must be a boolean member of that BEAN.

0


a source







All Articles