I think this will do what you want:

{{velocity}}
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.space")) 
  #set($docum = $xwiki.getDocument($subdoc))
  #if($docum.name != 'WebHome' && $docum.name != 'WebPreferences')
    * [[${subdoc}]]
  #end
#end
{{/velocity}}

The "if" clause only removes the WebHome and WebPreferences pages.

Cheers,

Luís Braga
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/list-of-pages-within-a-space-tp6060339p6060370.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to