Cool,
I've added
http://www.xwiki.org/xwiki/bin/view/FAQ/GetTitle
and http://www.xwiki.org/xwiki/bin/view/FAQ/ObjectsInVelocity
I have to say that I of course tried to view the javadoc and googled
for it and ended up on docjar's version of the javadoc:
http://www.docjar.com/docs/api/com/x
Hi Paul,
Here's a tip for answering all these questions. Velocity calls the
XWiki Java objects so if you check the javadoc for them you'll see all
methods that you can call.
$xwiki --> com.xpn.xwiki.api.XWiki
$doc --> com.xpn.xwiki.api.Document
$context --> com.xpn.xwiki.api.Context
The Java
Are you talking about $doc.title ?
Guillaume
On 16/01/2008, Paul Libbrecht <[EMAIL PROTECTED]> wrote:
>
>
> I've been looking for a while but I can't seem to find this.
>
> It looks like all documents not only have a name but also a title,
> which is a more human-readable version (e.g. could cont
I've been looking for a while but I can't seem to find this.
It looks like all documents not only have a name but also a title,
which is a more human-readable version (e.g. could contain colons).
But how can I access this from velocity ?
I will certainly post an FAQ answer as result as indee