Changes for page !Test_file_path
Last modified by Alexandru Colesnicov on 2020/01/27 13:47
Change comment: There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. acolesnicov1 +XWiki.etvc - Content
-
... ... @@ -6,16 +6,14 @@ 6 6 import java.io.File; 7 7 import java.net.URL; 8 8 9 - att = doc.getAttachment("TestingData.xls") 10 - println ("att: variable got its value") 11 - println ("att: Class is " + att.getClass().getSimpleName() + " (" + att.getClass().getName() + ")") 12 - 13 - xwa = att.getAttachment() 14 - println ("xwa: variable got its value") 15 - println ("xwa: Class is " + xwa.getClass().getSimpleName() + " (" + xwa.getClass().getName() + ")") 16 - 17 - sfi = xwa.getAttachment_content().storageFile 18 - println ("sfi: variable got its value") 19 - println ("sfi: Class is " + sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 20 - 9 + // y=XWikiAttachment(xwiki.getDocument(doc.parent), "aFileVerified").getAttachment_content().storageFile; 10 + //y=xwiki.getDocument(doc.parent).XWikiAttachment.getAttachment_content().storageFile; 11 +// y = "Execution of python script failed: "; 12 + 13 + doc.XWikiAttachment.getAttachment_content().storageFile; 14 + 15 +// for (XWikiAttachment attach in doc.getAttachmentList()) { 16 +// println "** " + attach.filename; 17 +// } 18 + //println y; 21 21 {{/groovy}}
- TestingData.xls
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.etvc - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.8 MB - Content