--- Erin Schnabel
<erin.xwiki(a)ebullientworks.com> a
écrit :
On Tue, July 10, 2007 3:58 am, Vincent Massol
wrote:
Hi,
We could integrate this in XWiki Core, as that
would be an
improvement over what we have (although your code
snippet seem to only
display the parent space and not pages, is that
correct?)
No. To optimize I display all pages of current Space.
With this way, a Page can "jump" many (2 or more)
levels.
> As was originally done (I think) it's important to
> keep list generation as simple (and fast!) as possible..
> e.g. load only the documents for the space and perhaps
> Main.WebHome (and the parent of Space.WebHome) as
> possible parents...
You have rename a Page for that (Main.Webhome).
And My list display <current Space>.Webhome.
PS: sorry if I sent too time my mail but I can't see
my post in sympa Archive...
Well, we aren't talking about renaming the page, we're talking about
supplying a list to choose parents from. I'm maintaining that presenting a
list containing ALL pages in the wiki is not the best plan. We have
thousands of documents in our wiki-- generating the AllDocs index takes a
few minutes. It's too expensive to list every possible document for
choosing a parent.
--
Waste of a good apple. --Samwise Gamgee