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
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to