What doesn't work? At a first glance this should work ;-)
Are you sure that this element is either identified (http://
rifers.org/wiki/display/RIFE/User+identification+facility) or
authenticated (the user's role needs to be available)?
On 18 Sep 2007, at 16:40, Matthias Barmeier wrote:
>
> 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
>
> >
--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---