Re: Setting menu tab at runtime
Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
On Oct 6, 2004, at 11:53 AM, Robert Smith wrote: > Hello, > I've been using the struts menu for a few weeks now, and I like > what I > see. I have a few questions if anyone can help: > > 1. I have about 5 main tabs with a few dozen submenus (using the nice > looking tabs menu). I need to add a "Home" menu to be the first main > tabbed > menu item, but the location of it needs to be set upon the user > logging in > (instead of being pulled from the menu-config.xml). In my login code (a > servlet), how would I do this? You can grab the repository from the servlet context, modify it and stuff it into the user's session. This howto may help: http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp > > 2. I'm using the TabbedMenuDisplayer, and changing tabs is slow. Has > anyone > experienced this? What do you mean - the JavaScript/CSS seems slow - or the pages are slow to load? Matt ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl