On 10/18/07, Vitantonio Messa
<vitantonio.messa(a)coss.fi> wrote:
Ok, thanks. I'll go and have a look.
Vito
Vincent Massol wrote:
On Oct 18, 2007, at 10:49 AM, Vitantonio Messa
wrote:
It doesn't seem to work: I still get a 0 from
this function:
$doc.getObjectNumbers("XWiki.ClassName"))
I've never done it myself but maybe someone else here can help.
You could also check if you find examples in the source code or in
the pages of XE.
-Vincent
> Vincent Massol wrote:
>> 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
>>>>> object
>>>>> of that class, write and read fields in that object, but I
>>> 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
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
--
David Israel
cell) (408) 802-2267
_______________________________________________
users mailing list
users(a)xwiki.org