From version < 4.11 >
edited by Alexandru Colesnicov
on 2019/10/02 13:32
To version < 4.13 >
edited by Alexandru Colesnicov
on 2019/10/02 13:36
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,11 +8,15 @@
8 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 12   att = doc.getAttachment("TestingData.xls")
13 13   println (att.getClass().getSimpleName() + " (" + att.getClass().getName() + ")")
14 +
15 + xwa = att.getAttachment()
16 + println (xwa.getClass().getSimpleName() + " (" + xwa.getClass().getName() + ")")
17 +
14 14   //aco = att.getAttachment_content()
15 -
19 +
16 16  // for (XWikiAttachment attach in doc.getAttachmentList()) {
17 17  // println "** " + attach.filename;
18 18  // }