File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF EL: nested ${} Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF EL: nested ${}" Watch "JSF EL: nested ${}" New topic

JSF EL: nested ${}

Tim Wise

Joined: Jul 25, 2009
Posts: 15

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!
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
Take a look at <f:param> and I believe you should be able to modify your custom component to support this
I agree. Here's the link:
subject: JSF EL: nested ${}
It's not a secret anymore!