It's true than checking duplicate page during typing would be too greedy in ressource
system (and slow with lot of pages).
Thxs you.
I try to improve a tiny bit this functionality but I didn't manage a simple thing: I
didn't found a simple syntax (without velocicity code) to add a direct link to the
edit page of an existing page...
By example: I have this this page "Encyclopédie.aaaa" existing and on
Encyclopédie.bbbb, I have
[[doc:aaaa]] =>
https://mysite/bin/view/Encyclop%C3%A9die/aaaa BUT I try to obtain this
link:
https://mysite/bin/edit/Encyclop%C3%A9die/aaaa without success
Any ideas?
Thxs
________________________________
De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>fr>; XWiki Users <users(a)xwiki.org>
Envoyé le : Lundi 18 août 2014 16h22
Objet : Re: [xwiki-users] Utilities of checking text input in "Page name"?
See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
. It just checks if the value is empty. And btw, any character is
allowed in the page name technically.
Hope this helps,
Marius
On Mon, Aug 18, 2014 at 5:00 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
Hello,
What is the function of validation in the text zone "Page name" of
/xwiki/bin/create/MySpace/WebHome page? (the green Ok at right side of text zone)
In "page name" It seem I can typing any characters (even
"aaa$^z*-+/\&é~@ç|-{"#'(" (green "Ok" is displayed )
and validate.
AND green "Ok" is displayed even if I type
the name of an existing page (of course when I click on "Create", the message
"The page MySpace.duplicateName already exists. Please fill in a new page name."
appear.
Do you think it is a bug a duplicated page test or a reliquat from old versions?
Pascal BASTIEN
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users