This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
passing hidden field value to backing bean
How to call a backingbean method?
Confirm message on submit
how ro use commandlink tag to forward to a different page
JSP action link with confirmation