From version < 4.9 >
edited by Alexandru Colesnicov
on 2019/10/02 13:30
To version < 4.3 >
edited by Alexandru Colesnicov
on 2019/10/02 13:09
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,9 +9,8 @@
9 9   // y=XWikiAttachment(xwiki.getDocument(doc.parent), "aFileVerified").getAttachment_content().storageFile;
10 10   //y=xwiki.getDocument(doc.parent).XWikiAttachment.getAttachment_content().storageFile;
11 11  
12 - att = doc.getAttachment("TestingData.xls")
13 - println (att.getClass().getSimpleName())
14 - //aco = att.getAttachment_content()
12 + att = XWikiAttachment(doc, "TestingData.xls")
13 + //aci = doc.XWikiAttachment.getAttachment_content()
15 15  
16 16  // for (XWikiAttachment attach in doc.getAttachmentList()) {
17 17  // println "** " + attach.filename;