Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@25ed70d8
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@2c84f42a, com.xpn.xwiki.api.Object@4cba083b, com.xpn.xwiki.api.Object@497280d7, com.xpn.xwiki.api.Object@7c68c8ec, com.xpn.xwiki.api.Object@435f3dc3, com.xpn.xwiki.api.Object@21cfefc3, com.xpn.xwiki.api.Object@5a85fc8c, com.xpn.xwiki.api.Object@128779c2, com.xpn.xwiki.api.Object@7c4ab90e]
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