posted 15 years ago
I have an application that displays a javascript confirm dialog box. what should happen is that when the user chooses OK option, the action method in the backing bean executes. When CANCEL is chosen, the action method does not get executed. I put the javascript in the onmousedown event of the commandLink since there is no onclick in the commandLink in IBM RSA.
This is working fine in IE. But in Firefox, the action method in the backing bean gets executed even before an option in the confirm box is chosen. is there a workaround for this?