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

Javascript confirm delete  RSS feed

 
Daniel Conner
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I basically need a delete confirmation alert. Wasn't sure on how to go about it using JSF. Any help would be great. Thanks.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can embed JavaScript inside your JSF components. You can use the onclick attribute in your JSF component, e.g.



Note: please replace the click attribute with onclick. HTML tags are not allowed in this forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!