Thanks Ludovic.
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Friday, July 01, 2005 11:07 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] listing all pages
Searching with % would also work
You can also create a page with this:
#foreach ($item in $xwiki.searchDocuments("")) #if
($xwiki.hasAccessLevel("view", $context.user,
"${context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
* [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] par
$xwiki.getLocalUserName($bentrydoc.author) le
$xwiki.formatDate($bentrydoc.date, $dateFormat) #end #end
#foreach ($item in $xwiki.searchDocuments("where
doc.web='MySpace'")) would list the docs in a space.
Ludovic
Duke Tantiprasut a écrit :
Hi All,
Is there a way display a list of all pages in a web/space.
Thanks.
Duke
-------------------------------------------------------------
----------
-
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing
list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic