Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@10e0879a
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@632455d9, com.xpn.xwiki.api.Object@66804c68, com.xpn.xwiki.api.Object@7118746a, com.xpn.xwiki.api.Object@7c831527, com.xpn.xwiki.api.Object@1e1f34e, com.xpn.xwiki.api.Object@192c86d9, com.xpn.xwiki.api.Object@3a491d78, com.xpn.xwiki.api.Object@162dcf2d, com.xpn.xwiki.api.Object@197c9ebb]
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