Groovy
Retrieve the first object (index [0]) among all objects attached to this page and class XWikiComments
com.xpn.xwiki.api.Object@a40ecdb
Retrieve all objects attached to this page and of class XWikiComments
[com.xpn.xwiki.api.Object@792b4ca, com.xpn.xwiki.api.Object@309b3da8, com.xpn.xwiki.api.Object@1fecf986, com.xpn.xwiki.api.Object@7ef1dcc9, com.xpn.xwiki.api.Object@38d6513b, com.xpn.xwiki.api.Object@7e6f15a3, com.xpn.xwiki.api.Object@2ef5c12e, com.xpn.xwiki.api.Object@85dcb18, com.xpn.xwiki.api.Object@45c098f2]
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