Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@6adb9ffa
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@7b3bccc6, com.xpn.xwiki.api.Object@13011a5f, com.xpn.xwiki.api.Object@2d6a5cb8, com.xpn.xwiki.api.Object@21ed4b53, com.xpn.xwiki.api.Object@61ec478b, com.xpn.xwiki.api.Object@5f4d28e6, com.xpn.xwiki.api.Object@42b844eb, com.xpn.xwiki.api.Object@4fb4c285, com.xpn.xwiki.api.Object@644ed2a4]
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