Does permissions works with Velocity ?
"Philippe de Saint Leger" <[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Organization | Aubay Conseil |
| Message-ID | <[email protected]> |
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 ...