Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[JSF 2] Expression Language : specifying the method arguments  RSS feed

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

It fails to parse it though :
javax.servlet.ServletException: /magasin/recherche.xhtml @46,116 action="#{rechercheJSFBean.rechercheArtParCatalogue('3')}" Error Parsing: #{rechercheJSFBean.rechercheArtParCatalogue('3')}

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

Is this feature working yet ?
Thanks for helping.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!