10 Dec
2013
10 Dec
'13
11:19 p.m.
Hi, add DocumentCreatedListener to the List from getEvents() in Example http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial and use @Override public void onEvent(Event event, Object source, Object data) { XWikiDocument doc = (XWikiDocument) source; XWikiContext context = (XWikiContext) data; if (event instanceof DocumentCreatedEvent) { // Do what you need here ;-) } } -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-set-a-properties-value-on-a-newly-c... Sent from the XWiki- Dev mailing list archive at Nabble.com.