WebSphere Portal Server - Re: how to insert javascript confirm into commandLink , JSF with

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2007 > Re: how to insert javascript confirm into commandLink , JSF with





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: how to insert javascript confirm into commandLink , JSF with

2007-08-13, 7:20 pm

Easy way to do it:

<h:form id=?userForm?>
<h:commandLink id=?lnkDeleteUser? value=?delete?
onclick=?if (!confirm('Are you sure you want to delete this record?')) return false?
action=?#{userBean.deleteUser}?/>
</h:form>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com