jsf 2 - EL Expression error on JBoss EAP 6.1 -


i've following el expression throwing error , i'm trying figure out workaround this. expression #{usr.resetpwd eq 's'}

usr.resetpwd of type java.lang.character, , in glassfish expression resolves java.lang.string, but, apparently, jboss resolves java.lang.long, , fails interpret correctly expression.

the error cannot convert s of type java.lang.string java.lang.long

i can make expression work changing type of resetpwd, or changing expression #{usr.resetpwd.tostring() eq 's'}, wanted avoid having verify , change applications. there configuration or better approach make applications behave same way when running on jboss or glassfish?

kind regards,

carlos ferreira


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -