Using struts-menu-2.4.3 in a non struts web application. The problem is that absolutely nothing gets displayed on the screen at all. Upon doing view-source of blank screen, following lines are shown (don't know why the java script is commented)
<html> <head> <title>Main</title> </head> <body> <script type="text/javascript"> <!-- oCMenu.makeMenu('contactMenu','','Contact','Contact','','','','','','','','','',0,'','',''); oCMenu.makeMenu('email','contactMenu','E-Mail','/iManage/header.html','','','','','','','','','',0,'','',''); oCMenu.makeMenu('phone','contactMenu','Phone','/iManage/footer.html','','','','','','','','','',0,'','',''); oCMenu.construct(); //--> </script> </body> </html> The code snippets are: WEB.XML <context-param> <param-name>net.sf.navigator.menu.MenuContextListener</param-name> <param-value>menuConfigLocation</param-value> </context-param> <listener> <listener-class>net.sf.navigator.menu.MenuContextListener</listener-class> </listener> MENU-CONFIG.XML <?xml version="1.0" encoding="UTF-8" ?> <MenuConfig> <Displayers> <Displayer name="CoolMenu4" type="net.sf.navigator.displayer.CoolMenuDisplayer4"/> </Displayers> <Menus> <Menu name="contactMenu" title="Contact" description="Contact" location="Contact"> <Item name="email" title="E-Mail" page="/header.html"/> <Item name="phone" title="Phone" page="/footer.html"/> </Menu> </Menus> </MenuConfig> FIRST.JSP <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %> <%@ taglib uri="http://struts-menu.sf.net/tag-el" prefix="menu-el" %> <html> <head> <title>Main</title> </head> <body> <menu:useMenuDisplayer name="CoolMenu4" bundle="javax.servlet.jsp.jstl.fmt.localizationContext"> <menu:displayMenu name="contactMenu"/> </menu:useMenuDisplayer> </body> </html> -- View this message in context: http://www.nabble.com/Stripes-coolmenu4-not-displaying-anything-tp14746154p14746154.html Sent from the struts-menu-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ struts-menu-user mailing list struts-menu-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-user