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/xw…
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-t…
Sent from the XWiki- Users mailing list archive at
Nabble.com.