On Mon, Apr 20, 2015 at 11:31 AM, TOTOUM NEMKAM, Eva
wrote:
> Hello,
>
> Please, i have two problems :
> 1) i try to add an object using this code
> ## Create an object
> #set($obj = $doc.newObject("XWiki.SomeClass"))
> $obj.set("field1","value1")
> $obj.set("field2","value2")
>
Hello,
Please, i have two problems :
1) i try to add an object using this code
## Create an object
#set($obj = $doc.newObject("XWiki.SomeClass"))
$obj.set("field1","value1")
$obj.set("field2","value2")
## Save the object in the page
$doc.save()
but when I click on "save a