$xwiki.searchDocuments returns a list of document names
(well, it is called
"search documents"), and not objects or classes. The query does filter only
the documents that do have the objects you're interested in, you'll just
have
to access them using the API, starting from the
document name.
That may be the case, but searchDocuments returns my class as a result when
queried with:
#set($hql = ", BaseObject as obj where obj.name = doc.fullName and
obj.className = '${doc.space}.TopicsClass'")
#set($results = $xwiki.searchDocuments($hql))
I guess the object I am looking at could just be a document holder for the
class I created but it does show up in the Class list in the Class Editor
which is why I referred to it as such.
Thanks again for the help!!
.:. Kevin
--
View this message in context:
http://n2.nabble.com/Get-class-from-space-and-retrieve-list-of-attached-obj…
Sent from the XWiki- Users mailing list archive at
Nabble.com.