Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@ca0679d
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@38b7b1db, com.xpn.xwiki.api.Object@23fdbdf4, com.xpn.xwiki.api.Object@67c1f0a1, com.xpn.xwiki.api.Object@6d9d0f3e, com.xpn.xwiki.api.Object@6253e7aa, com.xpn.xwiki.api.Object@728e7c54, com.xpn.xwiki.api.Object@6884a98d, com.xpn.xwiki.api.Object@5d979d96, com.xpn.xwiki.api.Object@ceb12db]
Retrieve the author property of all objects attached to this page and of class XWikiComments
println objsAuthors
[XWiki.RicardoRodriguezFernandez, XWiki.RicardoRodriguezFernandez, XWiki.RicardoRodriguezFernandez, XWiki.RicardoRodriguezFernandez, XWiki.IsabelListaGarcia, Anonymous, XWiki.YolandaMariaListeMartinez, XWiki.RicardoRodriguezFernandez, XWiki.RicardoRodriguezFernandez]
Retrieve the author property of the fifth object attached to this page and of class XWikiComments by index
println objsAuthor
XWiki.IsabelListaGarcia
println objs[0].author