Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@907b639
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@31f5f4ba, com.xpn.xwiki.api.Object@a95f8f6, com.xpn.xwiki.api.Object@7c0be3e7, com.xpn.xwiki.api.Object@709f9250, com.xpn.xwiki.api.Object@7c3efbf3, com.xpn.xwiki.api.Object@b0f4e3f, com.xpn.xwiki.api.Object@19da0fc5, com.xpn.xwiki.api.Object@3b415bc5, com.xpn.xwiki.api.Object@3ff000e7]
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