Thanks, after putting the following entries in jsp (and creating folders for
script, styles), it worked perfectly.



<%@ 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" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
    <title>CoolMenus4 Example</title>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" type="text/css" media="screen"
        href="styles/global.css" />
    <link rel="stylesheet" type="text/css" media="screen"
        href="styles/coolmenu.css" />
    
    <script type="text/javascript" src="scripts/coolmenus4.js"></script>
    <script type="text/javascript" src="scripts/cm_addins.js"></script>

</head>
<body>

<!-- Custom Configuration for this example, must come after body to work in
IE -->    
<script type="text/javascript" src="scripts/coolmenu4-config.js"></script>
    
                <menu:useMenuDisplayer name="CoolMenu4"
bundle="javax.servlet.jsp.jstl.fmt.localizationContext">
                        <menu:displayMenu name="contactMenu"/>
                </menu:useMenuDisplayer>
        </body> 
</html>





Matt Raible-3 wrote:
> 
> Make sure you have all the JS and CSS files referenced at the top of  
> the following page:
> 
> http://demo.raibledesigns.com/struts-menu/coolmenu4.jsp.src
> 
> Matt
> 
> On Jan 10, 2008, at 4:09 PM, StripesNovice wrote:
> 
>>
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> 
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Stripes-coolmenu4-not-displaying-anything-tp14746154p14746790.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to