Solved,
The line below
#if($doc.fullName == $itemdoc.fullName )
was comparing apples to oranges.
the itemdoc had a property that wasused to create the link and it was called
GotoPage
so
#if($doc.fullName == $gotoprop.value )
and now the icons get toggled properly.
Mike Oliver wrote:
Is there a way that a panel can be aware of the current page context so I can
enable and disable graphics based on which page is currently active?
--
View this message in context:
http://www.nabble.com/Panel-aware-of-page-tp17458341p17458341.html
Sent from the XWiki- Users mailing list archive
On May 25, 2008, at 4:16 PM, Mike Oliver wrote:
Is there a way that a panel can be aware of the current page context
so I can
enable and disable graphics based on which page is currently active?
$doc?
Thanks
-Vincent
___
users mailing list
#if($doc.name = SpaceName.PageName)Some graphics here
#else
Some other graphics here
#end
Is that what you would need ?
Guillaume
On Sun, May 25, 2008 at 5:57 PM, Vincent Massol [EMAIL PROTECTED] wrote:
On May 25, 2008, at 4:16 PM, Mike Oliver wrote:
Is there a way that a panel can be