Changes for page XWiki JavaScript API

Last modified by Simon Urli on 2022/09/14

From version 3.1
edited by Sergiu Dumitriu
on 2010/01/31
Change comment: Added xwiki:document:saved, typos
To version 4.1
edited by Oana Florea
on 2010/08/05
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Sergiu
1 +XWiki.OanaTabaranu
Content
... ... @@ -49,15 +49,15 @@
49 49  
50 50  * *<tt>xwiki:actions:cancel</tt>*
51 51  
52 -This event is sent after the user clicks the "Cancel" button of an editor (Wiki, WYSIWYG, object, rights, etc.)
52 +This event is sent after the user clicks the "Cancel" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually cancelling the edit.
53 53  
54 54  * *<tt>xwiki:actions:preview</tt>*
55 55  
56 -This event is sent after the use clicks the "Preview" button of an editor (Wiki, WYSIWYG, object, rights, etc.)
56 +This event is sent after ther use clicks the "Preview" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually leaving the edit mode.
57 57  
58 58  * *<tt>xwiki:actions:save</tt>*
59 59  
60 -This event is sent after the user clicks the "Save" or "Save & Continue" button of an editor (Wiki, WYSIWYG, object, rights, etc.). A memo is available if you need to know if the intend is to continue after the save. You can use it as follow:
60 +This event is sent after the user clicks the "Save" or "Save & Continue" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually submitting the form. A memo is available if you need to know if the intend is to continue after the save, in <tt>event.memo.continue</tt>. You can use it as follows:
61 61  
62 62  {code}
63 63  document.observe("xwiki:dom:loaded", function(event){
... ... @@ -68,7 +68,7 @@
68 68  });
69 69  {code}
70 70  
71 -All these events contain as extra information, in the second parameter sent to event listeners, the original click event (if any, and which can be stopped to prevent the action from completing), and the form being submitted.
71 +All these events contain as extra information, in the second parameter sent to event listeners (the memo), the original click event (if any, and which can be stopped to prevent the action from completing), and the form being submitted.
72 72  
73 73  1.1.1 Document extra events
74 74  
... ... @@ -89,3 +89,16 @@
89 89  * *<tt>xwiki:docextra:activated</tt>*
90 90  
91 91  This event is fired upon activation of a tab. It differs from the loaded event since tabs are loaded only once if the user clicks going back and forth between tabs. This event will notify of each tab activation, just after the tab content is actually made visible. The tab ID is passed in the memo as for <tt>xwiki:docextra:loaded</tt>
92 +
93 +1.1.1 Livetable events
94 +
95 +* *<tt>xwiki:livetable:newrow</tt>*
96 +
97 +* *<tt>xwiki:livetable:loadingEntries</tt>* (since 2.3 RC1)
98 +
99 +* *<tt>xwiki:livetable:receivedEntries</tt>* (since 2.3 RC1)
100 +
101 +* *<tt>xwiki:livetable:loadingComplete</tt>* (since 2.4 M1)
102 +
103 +* *<tt>xwiki:livetable:displayComplete</tt>* (since 2.4 M1)
104 +

Get Connected