This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: confirm dialog box in Firefox and IE
 
It's not a secret anymore!