Changes for page AssignmentCreatorTest

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

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

Summary

Details

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