Women in Technology

Hear us Roar



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.
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • How to configure Dynamic menu for User and Access Right
    2007-09-18 00:53:02  Venkatreddy [View]

    Hi,

    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.
  • How to configure Dynamic menu for User and Access Right
    2004-06-28 03:34:39  Menu [View]

  • How to configure Dynamic menu for User and Access Right
    2003-11-17 04:38:08  anonymous2 [View]

    Hello
    I am not very sure about XML part but there is a simple way .You can have the role and menu item id and the url in a table and then display the menu .
    What I mean is when user logges in get his role and fetch the menu items and url in a hashtable .
    URL is not mandatory to be put into the same table ,
    Thanks
    Arvind