Re: [xwiki-users] groovy.lang.MissingMethodException - Nosignatureof method

2009-01-30 Thread Ajdin Brandic
ssage- From: 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 jus

Re: [xwiki-users] groovy.lang.MissingMethodException - No signatureof method

2009-01-30 Thread Denis Gervalle
ent(filenameToSavaAs,imgAsBites, > context); //use this for com.xpn.xwiki.XWiki > saveAttachmentContent(newAttachment,context); > > Has anyone had a similar problem? > > Ajdin > > -Original Message- > From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On >

Re: [xwiki-users] groovy.lang.MissingMethodException - No signature of method

2009-01-29 Thread Ajdin Brandic
ToSavaAs,imgAsBites, context); //use this for com.xpn.xwiki.XWiki saveAttachmentContent(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 Us

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Sergiu Dumitriu
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 s

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Ajdin Brandic
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

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Kevin_C
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: http://n2.nabble.com/Custom-cla