I guess you can listen (http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local) to org.xwiki.bridge.event.DocumentCreatingEvent event (xwiki-platform-bridge module) and add your object in the passed XWikiDocument.
On Mon, May 19, 2014 at 10:15 PM, walid yaich <[email protected]> wrote: > Hello, > > First of all, Merci bcp Vincent for this How to implement "Approved > Revisions"?<http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+implement+%22Approved+Revisions%22> > > > I was able to choose which revision to display by following the "how to", > now i need to add the object automatically to any page in my wiki or at > least any page in a given space > > Thanks in advance :) > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

