Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@168ccc11
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@3326380f, com.xpn.xwiki.api.Object@122a7b05, com.xpn.xwiki.api.Object@22f28e94, com.xpn.xwiki.api.Object@626ea878, com.xpn.xwiki.api.Object@4ef690c4, com.xpn.xwiki.api.Object@1d9a5c5c, com.xpn.xwiki.api.Object@125ab33, com.xpn.xwiki.api.Object@500aa1db, com.xpn.xwiki.api.Object@6a0859ea]
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