| Sign In/My Account | View Cart |
| Article: |
A Custom JSP Tag Library for Dynamic Menus | |
| Subject: | How to configure Dynamic menu for User and Access Right | |
| Date: | 2003-11-13 01:26:53 | |
| From: | ashu_iit | |
|
Hi ! I want to use dynamic menu and dislay the menu items as per user'd sccess rights, what are the things i am supposed to do in order to achieve it. I want to use XML file for it. Its very urgent. |
||
Showing messages 1 through 3 of 3.
I have come across the same issue.Solution is we need have a column in table which specifies role.
Get the list of menu items that should be disabled.Have it in List.Then pass this list to js as an Array.
In DynamicMenu.js file access that array elements and call your function then add this foollowing lines there....
document.getElementById('mi_' + this.container.id + '_' + menuid).disabled = true;
IF any queries post it.
Thanks,
Venkat.