Thanks Sergiu!


Sergiu Dumitriu-2 wrote:
> 
> $doc is the current document, an instance of com.xpn.xwiki.api.Document,
> see
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/Document.html
> 
> So, to get the name, just use:
> 
> #if($doc.fullName == 'Some.Document')
> 

-- 
View this message in context: 
http://n2.nabble.com/How-to-assess-what-page-is-currently-being-viewed-by-the-user-tp1491502p1494159.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to