Changes for page AssignmentCreatorTest

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

From version Icon 32.1 Icon
edited by Holger Dick
on 2010/08/20 20:26
Change comment: There is no comment for this version
To version Icon 29.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,5 +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 -$smurk.save()
6 -
5 +$xwiki.createDocument()
6 +##set($smurk2 = $xwiki.getDocument("XWiki.SomeTest") )
7 +##$smurk2.setContent($something)
8 +##$smurk2.save()