• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass values in onclick method of <h:commandLink>

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to pass some parameters from bean to javascript function in <h:commandLink>, i tried the following


But i get compile time error as
Unterminated <h:commandLink tag

How can i do this?>
 
C Bell
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try updating your code to this,


You put another set of double quotes in your javascript onclick method, which would break the tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic