It's possible that permissions aren't checked in the VelocityDisplayer. I'm not sure, I havent' looked at the code in a while.

Matt

On Mar 24, 2005, at 8:46 AM, Philippe de Saint Leger wrote:

Hello

I have a question about the useMenuDisplayer tag,

I use� an Velocity Displayer with Xtree and a database MenuComponent build.
Everything works perfectly but the RolesAdapter !
I can see items on my tree that I shouldn't !



<script type="text/javascript">
<menu:useMenuDisplayer name="Velocity" config="xtree.html" permissions="rolesAdapter" repository="TreeRepository" >
if (document.getElementById) {
<menu:displayMenu name="tree"/>
} else {
var msg = "Your browser does not support document.getElementById().\n";
msg += "You must use a modern browser for this menu.";
alert(msg);
}
</menu:useMenuDisplayer>


I tried With CoolMenu4 MenuDisplayer and Permissions works perfectly !

So, Does permissions works with Velocity ?
 �
I'm Working on it for 2 days ... please help me ...
�
�



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to