aspose file tools*
The moose likes JSF and the fly likes [JSF 2] Expression Language : specifying the method arguments  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "[JSF 2] Expression Language : specifying the method arguments  " Watch "[JSF 2] Expression Language : specifying the method arguments  " New topic
Author

[JSF 2] Expression Language : specifying the method arguments

Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

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.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [JSF 2] Expression Language : specifying the method arguments
 
Similar Threads
Multiple JSF questions.
Need an idea for this program....!!!
Array Vs VarArgs
Illegal Start of Expression
post increment confusion