| Author |
Problem with dynamically generated menu.
|
smyle khanna
Ranch Hand
Joined: Jan 14, 2004
Posts: 54
|
|
Hi.. i have 2 jsp pages...one is the login page n other main page. the main page contains a set a menus in it.these menus are coded using javascript n dhtml. the user who logs in is divided into certain groups.these groups have certain rights.i have trapped the usergroup ,the problem is that depending on the usergroup ,in main page i have to enable only those menu's which must b accessed by tht particular group and the rest menu's must b disabled or sumhow restricted from use by tht user. is it possible to disable a menu in javascript by taking usergroup form jsp as a variable? plz help me outta this thanks in advance Smyle
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
|
Why don't you have the jsp write out the items for the menu depending on what group they are?
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Problem with dynamically generated menu.
|
|
|