Hi,

I'm using MyFaces 1.1 for a web app deployed in Resin 3.0.19.  This is the
expression I have ...

<h:selectBooleanCheckbox value="#{emailController.fields.addToENews ==
'true'}" />

but when I submit my page containing this, I get the error 

Parsed Expression of unsupported type for this operation. Expression class:
org.apache.commons.el.BinaryOperatorExpression. Expression:
'#{emailController.fields.addToENews == 'true'}'

Any ideas how I can rewrite the expression to produce the desired result? 
Essentially I'm trying to convert a string to a boolean within JSF.

Thanks, - Dave
-- 
View this message in context: 
http://www.nabble.com/Trouble-converting-String-to-boolean-in-JSF-tp25696928p25696928.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to