Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confirm dialog h:commandLink

 
Ayub ali khan
Ranch Hand
Posts: 395
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could any one point me the correct code to show a confirm dialog box when commandLink is clicked ?

I have used the below approach, however its not bringingup the confirm dialong on websphere portal.

<h:commandLink id="removeId" actionListener="#{userView.uiDeleteUser}" onmousedown="return confirm('Are you sure?');">

Thank you.

--Ayub
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic