I've been thinking that if there is a conflict and no param passed to
fix the conflict, then we just ask the user
This is the same thing we need to do on clicking a ? link in the wiki.
We need to ask the type of document the user wants to create and it
which space. The user should never have to name the document or place it
in the space by writing the wiki link. We should just set some defaults
and ask him if he wants to make different choices.
Ludovic
Guillaume Lerouge wrote:
[snip]
Why not directly
/xwiki/bin/create/ApplicationSpace/
And we find the class automatically when the ?class= param is not specified
We could store the default class in the space config, or lookup the
default space field in the class config (this case causes problem if 2
classes define the same space)
Same for list and search..
Sure, it will simply mean that we assume a strong link between the space and
the application... Then thee is the question of applications that require
the creation of various classes : how would you handle creating a bulletin
board category from the application homepage (easy) then a topic page from
the BB category page ? Could you have "subhomepages" in your application
space ?
I'm aware that the option of adding ?application=XWiki.App remains available
to solve the issue anyway.
[snip]
Guillaume
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost