webtier@glassfish.java.net

Re: [webtier] [JSF 2] Expression Language : specifying the method arguments

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Thu, 21 Jan 2010 09:56:15 -0500

You need to add the new el-impl jars to your servers lib directory.

This article shows where to get the jar.

http://ocpsoft.com/java/jsf2-java/jsf2-how-to-add-the-magic-of-el-el2-to-jsf/

Jboss 6 may not already include advanced El. I've never tried using
glassfish El on jboss before, though.

Lincoln Baxter's Droid
http://ocpsoft.com
http://scrumshark.com
Keep it simple.

On Jan 21, 2010 9:34 AM, <webtier_at_javadesktop.org> wrote:

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

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net