aspose file tools
The moose likes JSF and the fly likes confirm dialog box in Firefox and IE Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "confirm dialog box in Firefox and IE" Watch "confirm dialog box in Firefox and IE" New topic
Author

confirm dialog box in Firefox and IE

JP Estrada
Ranch Hand

Joined: Mar 21, 2006
Posts: 47
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: confirm dialog box in Firefox and IE
 
Similar Threads
JSP action link with confirmation
how ro use commandlink tag to forward to a different page
Confirm message on submit
How to call a backingbean method?
passing hidden field value to backing bean