your userRolesBean.columnValue must return a boolean value. Either
primitive, instance of java.lang.Boolean or null.
2005/11/5, Yee CN <[EMAIL PROTECTED]>:
>
>
>
> Hi,
>
>
>
> How should I handle boolean and checkboxes using <t:columns>?
>
>
>
> I am trying to do something like:
>
>
>
> <t:columns id="columns" value="#{userRolesBean.columnHeaders}"
> var="columnHeader">
>
> <f:facet name="header">
>
> …
>
> </f:facet>
>
> <h:selectBooleanCheckbox id="selboolean"
> value="#{userRolesBean.columnValue}"/>
>
> </t:columns>
>
>
>
> But then I get the following exception:
>
> java.lang.IllegalArgumentException: Expected submitted
> value of type Boolean for Component : {Component-Path : [Class:
> javax.faces.component.UIViewRoot,ViewId:…
>
>
>
>
>
> Thanks,
>
>
>
> Regards,
>
> Yee
--
Mathias