On Fri, Jul 25, 2008 at 2:52 PM, Hosam Hassan <[EMAIL PROTECTED]> wrote:
> Yes I know this already but for example if u want to create a new page called
>
> World cup
>
> The page will be called worldcup
>
> if u do a [$doc.name] Here the name of the link will be normal "World Cup"
>
> BUT if u do a $doc.name u will get worldcup.

OK sorry I mixed space of wiki page and " " character ;)

$doc.name should return you the correct name, otherwise it's a bug.
What XWiki Core/XE version do you use ?

>
> My problem is i want to get the normal name of the page which is displayed 
> when u do a [$doc.name]
>
> Thanks
>
>
> Original Message:
>
> Hi,
> <br />
> <br />On Fri, Jul 25, 2008 at 10:42 AM, Hosam Hassan  wrote:
> <br />> Hello Guys,
> <br />>
> <br />> I want to get the document name but WITH the spaces. I do it like 
> that $doc.name but it prune the white spaces for some reason!. Any idea how 
> to get the normal name of the document?.
> <br />
> <br />$doc.space = Space
> <br />$doc.name = PageName
> <br />$doc.fullName = Space.PageName
> <br />$doc.prefixedFullName = wikiname:Space.PageName
> <br />
> <br />See XWiki api for a complete list of available methods :
> <br />http://platform.xwiki.org/xwiki/bin/view/DevGuide/API
> <br />
> <br />>
> <br />> Many thanks,
> <br />>
> <br />> Hosam
> <br />> _______________________________________________
> <br />> users mailing list
> <br />> users@xwiki.org
> <br />> http://lists.xwiki.org/mailman/listinfo/users
> <br />>
> <br />>
> <br />
> <br />
> <br />
> <br />--
> <br />Thomas Mortagne
> <br />_______________________________________________
> <br />users mailing list
> <br />users@xwiki.org
> <br />http://lists.xwiki.org/mailman/listinfo/users
> <br />
>
> --
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to