RE: On the fly menu configuration ?

"Matt Raible" <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Organization Raible Designs, Inc.
Message-ID <[email protected]>
There's another example of creating a menu on-the-fly in the sample app:

http://raibledesigns.com/struts-menu/dynamicMenu.jsp

> -----Original Message-----
> From: struts-menu-user-admin-TtF/[email protected] 
> [mailto:struts-menu-user-admin-TtF/[email protected]] On Behalf Of 
> Jean-Baptiste Lievremont
> Sent: Friday, April 02, 2004 3:14 AM
> To: struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [struts-menu] On the fly menu configuration ?
> 
> 
> Pingili, Madhupal wrote:
> 
> >If  "on the fly" means, keeping menus in the request/session scope, 
> >then yes, you can generate menus and stick them in request/session 
> >using MenuRepository. e.g.
> >//Create User Menu Repository, stuff it and keep it in session scope.
> >MenuRepository mrp = (MenuRepository)
> >servlet.getServletContext().getAttribute(MenuRepository.MENU_
> REPOSITORY_KEY)
> >;
> >MenuRepository userMenuRep =
> >AppUtils.createUserMenuRepository(userMenusSorted,mrp);
> >  
> >
> What is userMenusSorted in this line ?
> 
> Also where can I find the AppUtils class ? It is nowhere in the 
> struts-menu API.
> 
> >session.setAttribute(MenuRepository.MENU_REPOSITORY_KEY, 
> userMenuRep); 
> >//End of User Menu Repository creation.
> >
> >Struts-menu will pick it up and display only those menus.
> >
> >Reddy Pingili
> >  
> >
> -- 
> | Jean-Baptiste Lièvremont                            |
> |   E-mail : [email protected]        |
> |                            [email protected]         |
> |   Tel    : (+33)6.14.85.19.96                       |
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President 
> and CEO of GenToo technologies. Learn everything from 
> fundamentals to system 
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-TtF/[email protected] 
> https://lists.sf.net/lists/listinfo/struts-> menu-user
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.