What do you mean with "taken by the renderer"? I use myfaces, and this
works like a charm for me:
<h:commandLink value="#{msg.my_gallery_delete_link_label}" onclick="if
(!confirm('#{msg.my_gallery_msg_confirm_delete_gallery}')) return false"
action="#{galleryAction.deleteMyGallery}" />
This won't for you?
regards,
Veit
Iordanov, Borislav (GIC) schrieb:
> Hi,
>
>
>
> How could I add a confirmation JavaScript dialog box to a h:commandLink?
> The onclick event is taken by the renderer….
>
>
>
> Thanks,
>
> Bolerio
>