This is working on XWiki Enterprise 5.2-milestone-1: 

{{velocity}}
#set($sql = ("where doc.fullName not in (select doc.fullName from
XWikiDocument doc, BaseObject as tagObj, DBStringListProperty as tags join
tags.list tag where doc.fullName = tagObj.name and tagObj.className =
'XWiki.TagClass' and tagObj.id = tags.id.id and tags.id.name='tags' and tag
<> '')order by doc.space asc ") )
#set ($list = $xwiki.searchDocuments($sql))
 #foreach($item in $xwiki.searchDocuments($sql))
#set ($recentDoc = $xwiki.getDocument($item).getTranslatedDocument())
   ## We use HTML here because we don't have a tool to escape wiki syntax in
document title.
|$recentDoc.getSpace()|{{html}} $escapetool.xml($recentDoc.plainTitle)
<$recentDoc.getURL()>  {{/html}}
#end
{{/velocity}}

Thank You!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/all-pages-without-any-Tags-tp7586883p7586902.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to