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

How to send JSF Expression Language value as paramter to javascript function  RSS feed

Corey Harden
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When an input field is focused on, I'm trying to call a javascript function with the parameter for the function being a JSF Expression Language value.
I know that this is allowed in regular JSP's where you pass a java variable to a function like so: onFocus="someFunction(<%= var %>)
So my question is what is the equivalent of this expression in ADF Faces using expression language (EL). This is the code that I have tried
in the onFocus attribute:

Thanks in advance for your help!
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!