Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF EL: nested ${}

 
Tim Wise
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

It is not possible to use ${} EL markup inside outer ${} expression. But is it possible to workaround this? What I want to do is to pass a parameter to a EL function, while the parameter itslef is not hardocoded, but is stored in a variable. I have custom fecelet EL function, and a custom tag using this function. I'm passing parameter to a tag, and want to use it as a EL function parameter, but obvoiusly this is not working this way:

page source code:

tag xhtml description
I guess there must be other way to pass in the parameter. Could you suggest something?

Thank you!
Tim
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at <f:param> and I believe you should be able to modify your custom component to support this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic