Hello

In a groovy macro I can access the comments on the page like this :

comments = doc.getComments();

now I want to delete the last one... how can I do that?

I tried :
comments[0].delete(); 
but it doesn't work....

do you know what to type to make it work?
Thanks a lot
Adrien
                                          
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to