I just checked in some code to app-navigate so that the menus can be included in all jsps now.
In order to use the menu in other jsps, you should include the following line in your JSP; <jsp:include page="/navigate/menubartable.html" flush="false" /> This will set up the room for the menu on your page.
Then, with your javascripts (or at the end of your page); <%@ include file="/navigate/menubarscript.jspi"%>
Don't forget to make sure the Model is called during the request processing;
ModelResponse response =
((Model)request.getService(StandardLogEnabledModel.ROLE,"nav.navigate")).execute(request);There is probably a better, more generic way to do this. If anyone gets a better idea and/or wants to enhance this, please feel free to do so. I will probably be making a few changes myself as I figure out how to work this struts & html better.
Regards, Steve -- Java/J2EE Developer/Integrator Co-Chair, Dallas/FortWorth J2EE Sig 214-724-7741
http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
