[xwiki-users] Howto delete objects on a page

2014-06-04 Thread Matthias Albert
Hi all,

after successfully adding objects of a certain class to a page document
via groovy, I cannot find any hint in API nor in the documentation, how
to delete  an object. Can anybody help, please?

Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Howto delete objects on a page

2014-06-04 Thread Matthias Albert
Here is the answer to my own question:

doc.removeObject(object)


Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users