Re: [xwiki-users] How to get the document name WITH sp aces

2008-07-28 Thread Hosam Hassan
Hello Sergiu, The $doc.displayTitle still removes the spaces from the title. As for the $doc.name.replaceAll('([a-z])([A-Z])', '$1 $2') I get that exception when I execute it Error number 3201 in 3: Exception while saving document XWiki.DefinitionsClassSheet Wrapped Exception: Could not

Re: [xwiki-users] How to get the document name WITH sp aces

2008-07-25 Thread Hosam Hassan
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. My problem is i want to get the normal name of the