aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF EL: nested ${}" Watch "JSF EL: nested ${}" New topic
Author

JSF EL: nested ${}

Tim Wise
Greenhorn

Joined: Jul 25, 2009
Posts: 15
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

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: http://aspose.com/file-tools
 
subject: JSF EL: nested ${}
 
Similar Threads
Non-scripting....
HS&J - How to get JSP init parameters using EL
What should i assign for body-content in tag file to evaluate EL
passing param from request to xsl stylesheet..
Way to pass parameters to a bean in JSTL?