Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic