strut tabbed menu

View: New views
2 Messages — Rating Filter:   Alert me  

strut tabbed menu

by sailaja varada :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
 i coded as follows:
 
***********samplev1.jsp*************
<%@ taglib uri="http://struts-menu.sf.net/tag " prefix = "menu"%>
 <menu:useMenuDisplayer name="Tabbedmenu" bundle="org.apache.struts.action.MESSAGE">
            <menu:displayMenu name="officialdetails" />
            <menu:displayMenu name="personaldetails"/>
            <menu:displayMenu name="previosexperience"/>
      </menu:useMenuDisplayer>
           
*********struts-config.xml************
    <plug-in className="net.sf.navigator.menu.MenuPlugIn">
        <set-property
            property="menuconfig"
            value="/WEB-INF/menu-config.xml"/>
    </plug-in> 
*********menu-config.xml*************

<?xml version="1.0" encoding="UTF-8"?>

<menuConfig>
    <Displayers>
        <Displayer name="Tabbedmenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
     </Displayers>
     <menus>
             <menu name="officialdetails" title="officialdetails" location="/samplemenu1.jsp">
                 <item name="officialdetails" page="/officialdetails.jsp"/>
             </menu>
             <menu name="personaldetails" title="personaldetails" location="/samplemenu1.jsp">
                 <item name="personaldetails" page="/personaldetails.jsp"/>
             </menu>
             <menu name="previousexperience" title="previousexperience" location="/samplemenu1.jsp">
                 <item name="previosexperience" page="/previousexperience.jsp"/>
             </menu>
     </menus>
</menuConfig>

*********web.xml**********************
 <taglib>
                <taglib-uri> /WEB-INF/struts-menu.tld</taglib-uri>
                <taglib-location>/WEB-INF/struts-menu.tld </taglib-location>
            </taglib>
***************************************
this is the code i wrote ,but i couldn't get answer,i am getting exceptions.
 
i included commons-lang.jar(2.3V) and struts-menu.jar(2.3V) in my web-inf/lib
but i couldn't get.
 
Please help me.
 
 
Thanks and regards,
sailaja.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: strut tabbed menu

by byenare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Sailaja,
 
Can you please replace your web.xml entry for taglib uri for struts menu.
 
   <taglib>
        <taglib-uri>http://struts-menu.sf.net/tag</taglib-uri>
        <taglib-location>/WEB-INF/struts-menu.tld </taglib-location>
    </taglib>
 
Rebuild the project and re-deploy it..
 
Thanks,
Nag.

 
On 12/11/07, sailaja varada <sailajave@...> wrote:
 i coded as follows:
 
***********samplev1.jsp*************
<%@ taglib uri="http://struts-menu.sf.net/tag " prefix = "menu"%>
 <menu:useMenuDisplayer name="Tabbedmenu" bundle="org.apache.struts.action.MESSAGE">
            <menu:displayMenu name="officialdetails" />
            <menu:displayMenu name="personaldetails"/>
            <menu:displayMenu name="previosexperience"/>
      </menu:useMenuDisplayer>
           
*********struts-config.xml************
    <plug-in className="net.sf.navigator.menu.MenuPlugIn">
        <set-property
            property="menuconfig"
            value="/WEB-INF/menu-config.xml"/>
    </plug-in> 
*********menu-config.xml*************

<?xml version="1.0" encoding="UTF-8"?>

<menuConfig>
    <Displayers>
        <Displayer name="Tabbedmenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
     </Displayers>
     <menus>
             <menu name="officialdetails" title="officialdetails" location="/samplemenu1.jsp">
                 <item name="officialdetails" page="/officialdetails.jsp"/>
             </menu>
             <menu name="personaldetails" title="personaldetails" location="/samplemenu1.jsp">
                 <item name="personaldetails" page="/personaldetails.jsp"/>
             </menu>
             <menu name="previousexperience" title="previousexperience" location="/samplemenu1.jsp">
                 <item name="previosexperience" page="/previousexperience.jsp"/>
             </menu>
     </menus>
</menuConfig>

*********web.xml**********************
 <taglib>
                <taglib-uri> /WEB-INF/struts-menu.tld</taglib-uri>
                <taglib-location>/WEB-INF/struts-menu.tld </taglib-location>
            </taglib>
***************************************
this is the code i wrote ,but i couldn't get answer,i am getting exceptions.
 
i included commons-lang.jar(2.3V) and struts-menu.jar(2.3V) in my web-inf/lib
but i couldn't get.
 
Please help me.
 
 
Thanks and regards,
sailaja.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



-------------------------------------------------------------------------
SF.Net email is sponsored by:
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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
LightInTheBox - Buy quality products at wholesale price