From version < 4.22 >
edited by Alexandru Colesnicov
on 2019/10/02 14:45
To version < 4.23 >
edited by Alexandru Colesnicov
on 2019/10/02 14:47
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4   import com.xpn.xwiki.doc.*;
5 5   import java.io.File;
6 6  
7 - println ("***** Solution in 4 steps *****\n")
7 + println ("* Solution in 4 steps\n")
8 8  
9 9   att = doc.getAttachment("TestingData.xls")
10 10   println ("att = doc.getAttachment(\"TestingData.xls\")")
... ... @@ -26,7 +26,7 @@
26 26   println (" apa: variable got its value = " + apa)
27 27   println (" apa: Class is " + apa.getClass().getSimpleName() + " (" + apa.getClass().getName() + ")")
28 28  
29 - println ("***** Solution in 1 step *****\n")
29 + println ("* Solution in 1 step\n")
30 30  
31 31   apa2 = doc.getAttachment("TestingData.xls").getAttachment().getAttachment_content().storageFile.getAbsolutePath()
32 32   println ("apa2 = doc.getAttachment(\"TestingData.xls\").getAttachment().getAttachment_content().storageFile.getAbsolutePath()")