webtier@glassfish.java.net

[JSF 2] call a bean method with parameters

From: <webtier_at_javadesktop.org>
Date: Tue, 16 Mar 2010 08:29:36 PDT

Hi,

I'd like to call (mojarra 2.0.2, Tomcat 6.0.24) from a facelet a bean method with a parameter

 <h:outputText value="#{applicationBean.isUserInRole('MYROLE')}"/>

but this results in

/export.xhtml @20,74 value="#{applicationBean.isUserInRole('MYROLE')}" Error Parsing: #{applicationBean.isUserInRole('MYROLE')}

What's wrong?

This might be the same problem as here:
http://forums.java.net/jive/thread.jspa?messageID=382146

Thanks,
Juergen
[Message sent by forum member 'weberjn' (weberjn_at_gmx.de)]

http://forums.java.net/jive/thread.jspa?messageID=392183