If you put your repository into the session with a name of "menuRepository" - in your tag, just use repository="menuRepository". You can also use the same name as Struts Menu does (MenuRepository.MENU_REPOSITORY_KEY) - then you won't need to specify a repository attribute. The following may help:
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp Matt On 1/31/06, Danny Lee <[EMAIL PROTECTED]> wrote: > Well, so that it's clear what I want to achieve with this > SessionScope.MenuRepository approach (though it's quite obvious): > > I keep my MenuRepository in a Session, becouse in this particular case, > I don't have to generate it every time the user clicks on something. At > the moment I have to put the MenuRepository to the my Struts-Form > everytime, before I can use it in the JSP. > > Well, I don't that it will couse a performance problem, but there are > some other issues related with necessity of using Action-Form-JSP > schema, instead of using JSP+SessionScope Beans. > > So any help would be nice! > > Cheers, > > Danny > > > > > Danny Lee wrote: > > OK, I just tried that, set the repository in the JSP, and then did: > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > struts-menu-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user
