<
From version < 38.2 >
edited by Jerome
on 2009/05/07
To version < 39.1 >
edited by Jerome
on 2009/05/07
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -221,6 +221,8 @@
221 221  - <tt>xwiki:actions:cancel</tt>, <tt>xwiki:actions:preview</tt> and <tt>xwiki:actions:save</tt> are sent when pushing one of the form action buttons. As extra information the second parameter sent to event listeners contains the original click event (if any, and which can be stopped to prevent the action from completing), the form being submitted, and a boolean <tt>continue</tt> parameter for the <tt>xwiki:actions:save</tt> event, to distinguish between ~~Save and View~~ and ~~Save and Continue~~.
222 222  Other events will be added in the future as needed.
223 223  
224 +A complete documentation for those events and their memo data is available at [platform:DevGuide.JavaScriptAPI]
225 +
224 224  1.1.1.1.1 Usage example
225 225  
226 226  [Prototype.js>http://www.prototypejs.org/] is the framework recommended for XWiki development. It eases listening for and sending event using the [Event>http://www.prototypejs.org/api/event] "class" and three new methods for the [document>http://www.prototypejs.org/api/document] object.

Get Connected