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

Command link with Javascript in Datatable  RSS feed

 
Bala Muruganand
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a datatable wherein the first column contains a h:commandLink in every row. On click of the command link I need to display a java script alert message 'with values present in the rows displayed' in the javascript. Primaryly a confirmation message before the value is deleted

Although I had done with addition of the command link with javascript. I am not able to display the dynamic value in the confirmation javascript message.

Can anyone help me with this ?
 
Darth Heizenberg
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This is how I've achieved this using RichFaces. I imagine it should be pretty similar with a standard datatable tag too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!