File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
ashish kulkarni
Ranch Hand
Posts: 131
  • 0
  • 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
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic