Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to call jsf button action using javascript  RSS feed

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Please tell me how to call jsf button action using javascript.
 
Anees Shaik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
write a script to click that jsf button. Example
document.getElementById(<specify button_id>).click();
 
Augustine Chelliah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using tomahawk's tag library, you might as well need to give 'forceId = true' in the tag when you give 'id' attribute.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!