I am having a problem with the combination of Seam 1.2.1, MyFaces
(1.1.5 or 1.2.0) and Facelets 1.1.11 when it comes to EL functions. I
am trying to get help from the facelets user list and the seam forum,
but I know a lot of myfaces users use facelets, and may have a
solution.

In MyFaces 1.1.5, EL functions work fine in the facelet views since
facelets handles those. However, with
'facesContext.getApplication().createValueBinding("#{s:hasRole('test')}");'
I get an exception.

1.1.5 error:

Caused by: javax.faces.el.ReferenceSyntaxException: Functions not
supported in expressions. Function: s:hasRole

I tried MyFaces 1.2 and got a different error.

With MyFaces Core/Api 1.2.0 I get this exception:

javax.el.ELException: Expression uses functions, but no FunctionMapper
was provided

Here is the message on the seam forum:

More information here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070255#4070255

How can I get EL functions to work through the JSF Application object
as well as through the facelets view handler?

Thanks,
Andrew

Reply via email to