] On
Behalf
Of Sergiu Dumitriu
Sent: 14 January 2009 17:03
To: XWiki Users
Subject: Re: [xwiki-users] groovy.lang.MissingMethodException
Ajdin Brandic wrote:
Hi
I'm trying to execute another script on Save event. I've created a
notification class (based on xwiki example
http
: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Denis Gervalle
Sent: 30 January 2009 09:11
To: XWiki Users
Subject: Re: [xwiki-users] groovy.lang.MissingMethodException -
Nosignatureof method
Hi Adjin,
com.xpn.xwiki.doc.XWikiDocument.addAttachment() has just been added
(newAttachment,context);
Has anyone had a similar problem?
Ajdin
-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Sergiu Dumitriu
Sent: 14 January 2009 17:03
To: XWiki Users
Subject: Re: [xwiki-users] groovy.lang.MissingMethodException
Ajdin
Is Summary a property you've added to a custom class that this document is an
instance of? By default an XWiki document doesn't have a summary property
which I believe is why you are getting that error.
Hope this helps!
.:. Kevin
--
View this message in context:
Hi Kevin
Yes, you are correct. So how do I get the correct instance?
Ajdin
-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Kevin_C
Sent: 14 January 2009 15:12
To: users@xwiki.org
Subject: Re: [xwiki-users
Ajdin Brandic wrote:
Hi
I'm trying to execute another script on Save event. I've created a
notification class (based on xwiki example
http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications) and
pointed to it in Administration Programming Notification pages.
This script gets