webtier@glassfish.java.net

[JSF 2] Expression Language : specifying the method arguments

From: <webtier_at_javadesktop.org>
Date: Thu, 21 Jan 2010 06:35:16 PST

Hi,
I am using JBoss 6 and JSF 2.
I am trying to pass arguments in a method inside an EL expression, in a facelet (XHTML).

Just like it is described here :
http://blogs.sun.com/kchung/entry/jsr_245_mr_part_i

It fails to parse it though :
javax.servlet.ServletException: /magasin/recherche.xhtml @46,116 action="#{rechercheJSFBean.rechercheArtParCatalogue('3')}" Error Parsing: #{rechercheJSFBean.rechercheArtParCatalogue('3')}
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


I tried with and without the single quotes : (3) instead of ('3'), same error.

Is this feature working yet ?
Thanks for helping.
[Message sent by forum member 'longbeach' (papouasied_at_yahoo.com)]

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