Unfornuately it does not work. Really strangely. I saved it as the pure html and it poped up a dialog, then if I click cancel, it works. But on the original jsp, it always call the backing bean's action even I clicked cancel!
Do you encounter this problem?

On 1/4/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
Hi!
Look at this wiki:
http://wiki.apache.org/myfaces/_javascript_WithJavaServceFaces

Regards,
Andy


-----Ursprüngliche Nachricht-----
Von: Legolas Woodland [mailto:[EMAIL PROTECTED] ]
Gesendet: Mittwoch, 4. Januar 2006 10:15
An: MyFaces Discussion
Betreff: Topic: How i can add a _javascript_ confirmation dialog to a
button action ?


Hi
How i can add a confirmation dialog to a button action ?
I mean when user press the delete button it shows a dialog box
(_javascript_) and ask him/her wether he/she is sure to procedd or not.
What about making this dialog localized and load its message from String
resource ? can we use localization into _javascript_?


Reply via email to