One solution is to use http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications

-Vincent

On Mar 13, 2008, at 12:15 PM, Dan wrote:

I have defined a NoteClass. I'd like to add an object of NoteClass to every new document when it is created. I don't want users to manually add this object because I want to make it more easier.
Can someone tell me how to do this?
Thanks a million.