Changes for page Confirmation Box

Last modified by Raphaƫl Jakse on 2023/01/19

From version 9.1
edited by Jerome
on 2009/10/09
Change comment: Upload new image <a href="/xwiki/bin/downloadrev/DevGuide/ConfirmationBox/confirmbox.png?rev=1.2">confirmbox.png</a>
To version 10.1
edited by Jerome
on 2009/10/09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,7 +8,7 @@
8 8  == Usage ==
9 9  
10 10  {{code language="javascript"}}
11 -new XWiki.widgets.ConfirmationBox(behavior, interactionParameters)
11 +new XWiki.widgets.ConfirmationBox(behavior, interactionParameters);
12 12  {{/code}}
13 13  
14 14  ; behavior
... ... @@ -27,7 +27,7 @@
27 27  };
28 28  {{/code}}
29 29  
30 -; internationParameters
30 +; interactionParameters
31 31  : Object that defines the different text elements displayed with-in the confirmation box. Three variables are available for customization : **confirmationText**, the message to confirm (default value for the English language is //Are you sure ?//), **yesButtonText** the "yes" button text (or confirm button), **noButtonText** the "no" button text (or cancel button).
32 32  
33 33  Example :
... ... @@ -34,7 +34,7 @@
34 34  
35 35  {{code language="javascript"}}
36 36  var myInteractionParamters = {
37 - confirmationText: "Are you sure you want this wiki to engage the self-destruction process ?",
37 + confirmationText: "Are you sure you want to engage the wiki's self-destruction process ?",
38 38   yesButtonText: "Yes, please do that",
39 39   noButtonText: "No thank you"
40 40  };

Get Connected