Thanks you (I already seen this syntax) and it doesn't work to generate a link
to 'another' wiki page in edit mode.
By example on MyPage, without velocity it seem impossible to automatically
add this link: /xwiki/bin/edit/Sandbox/ADocAlreadyCreated with XWiki Syntax
Link Specification
But thxs anyway, finally I used velocity:
$xwiki.getURL("MySpace.ADocAlreadyCreated", 'edit')
Then I propose you this tiny improvment:
http://jira.xwiki.org/browse/XWIKI-10814
________________________________
De : Marius Dumitru Florea <[email protected]>
À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]>
Envoyé le : Mardi 19 août 2014 9h46
Objet : Re: [xwiki-users] Utilities of checking text input in "Page name"?
On Mon, Aug 18, 2014 at 7:46 PM, Pascal BASTIEN <[email protected]> wrote:
> 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?
See
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise34#HChangestothelinksyntaxfromXWikiSyntax2.0
, especially the "Edit this page" link example at the end of the
section.
Hope this helps,
Marius
>
> Thxs
>
>
>
>
> ________________________________
> De : Marius Dumitru Florea <[email protected]>
> À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]>
> 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/xwiki-platform-web/src/main/webapp/templates/createinline.vm#L84
> . 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 <[email protected]>
> 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
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users