Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

confirm dialog h:commandLink  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!