Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSF and the fly likes confirm dialog box in Firefox and IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
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: 48
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