Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a dynamic menu

 
Anil Verghese
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a menu.js file that will display all the menus in my index.jsp. I want to control the menus according to the user logging in .. How do i do this
.. does anyone have a sample code for menu custom tags with explanation..

Anil
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anil,
For security, you need to do something on the server side to control access. Maybe it can write out the pages to display and have menu.js called with those?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic