Hi,
I've tried to use the converter s:convertBoolean with component
t:selectBooleanCheckbox because the value is of type String, like that:
<t:selectBooleanCheckbox id="agevolazione"
value="#{beanConcessioniCorpo.flagAgevolazione}"
binding="#{dettaglioConcessioniCorpo.campoAgevolazione}">
<s:convertBoolean falseValue="N" trueValue="S"/>
</t:selectBooleanCheckbox>
(in the backingBean the property flagAgevolazione is String)
but the converter seems not work properly because I've the next exception:
javax.servlet.ServletException: Expected submitted value of type Boolean for
Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /
dettaglioConcessioniCorpo.jsp][Class: javax.faces.component.html.HtmlForm,Id:
formConcessioniCorpo][Class:
org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox,Id:
agevolazione]}
Regards,
Rocco :)