• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[JSF 2] Expression Language : specifying the method arguments

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic