myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramarao Venkata" <ramarao.tob...@gmail.com>
Subject [Tobago] onclick event of <tc:link
Date Thu, 21 Jun 2007 05:29:40 GMT
Hai,

I has a link and before doing the action i need to take confirmation. I has
written the code as below

<tc:link  actionListener="#{mycontoller.deleteItem}"
        onclick="confirm('Are you sure to delete this Item');"
markup="underline">

  <f:param name="id" value="#{mycontoller.id}" />
    <tc:out value="#{bundle.delete}" id="del_it" />
</tc:link>

the confirm dialog is displayed but the actionListener is not been invoked.

Could any one help me.

regards
ramarao

Mime
View raw message