Changes for page AssignmentCreatorTest

Last modified by Holger Dick on 2010/08/20 14:45

From version Icon 34.1 Icon
edited by Holger Dick
on 2010/08/20 20:40
Change comment: There is no comment for this version
To version Icon 28.1 Icon
edited by Holger Dick
on 2010/08/20 20:16
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -2,7 +2,7 @@
2 2  $xwiki.copyDocument("XWiki.AssignmentClassBaseText","XWiki.SomeTest")
3 3  #set($smurk = $xwiki.getDocument("XWiki.AssignmentClassBaseText") )
4 4  #set($something = $smurk.getContent() )
5 -
6 -
7 -$xwiki.copySpaceBetweenWikis("Topics", "xwiki", "courses")
8 -
5 +##$xwiki.createDocument("XWiki.SomeTest")
6 +##set($smurk2 = $xwiki.getDocument("XWiki.SomeTest") )
7 +##$smurk2.setContent($something)
8 +##$smurk2.save()