On Oct 18, 2007, at 10:35 AM, Vitantonio Messa
wrote:
Thanks Vincent,
I'll try it. If it is working, of course, I'm going to put some
information on
xwiki.org. Thanks once again!
hmm seems like the
$xwiki.saveDocument() api is internal only.
You should use the $mydocument.save() API instead.
-Vincent
Vincent Massol wrote:
> Hi Vito,
>
> On Oct 18, 2007, at 10:13 AM, Vitantonio Messa wrote:
>
>> Hi,
>>
>> I have created my own class. In a document, I'm able to create a
>> object
>> of that class, write and read fields in that object, but I don't
>> know
>> how to memorize this object in the database: I was looking on the
>> developer guide on
xwiki.org and I found only this page
>>
http://www.xwiki.org/xwiki/bin/view/DevGuide/DatabaseTutorial
>> (which is
>> not complete, unfortunately for me).
>> Can anyone help me, please?
> Have you called $xwiki.saveDocument()?
>
> Would be nice if you could put this code snippet for creating an
> object using scripting on the following page:
>
http://www.xwiki.org/xwiki/bin/view/DevGuide/APIGuide
>
> Thanks
> -Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org