Hi,
I would like to have some exits in my pages that are only available for
special roles. But my approach was a bit naive. I thought that this
should work:
<div id="main_nav">
<ul>
<li><a href="${v EXIT:QUERY:MonitoringList/}">Monitoring</a></li>
<!-- <li><a href="#">Critical alerts</a></li> -->
<r:v name="OGNL:ROLEUSER:rolex"/>
<!--B 'OGNL:ROLEUSER:rolex:[[ isInRole("customeradmin") ]]'-->
<li class="on"><a href='${v
EXIT:QUERY:SiteList/}'>Administration</a></li>
<!--/B-->
<r:v name="OGNL:ROLEUSER:roley"/>
<!--B 'OGNL:ROLEUSER:roley:[[ isInRole("admin") ]]'-->
<li class="on"><a href="${v
EXIT:QUERY:CustomerList/}">Administration</a></li>
<li><a href="terminals/terminals">System</a></li>
<!--/B-->
</ul>
</div>
But it doesn't. :( Could someone give me a hint on how to do what I want ?
Thanks in advance.
Ciao
Matze
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---