The example application is the best example. Are you including the proper CSS files?
Matt On 8/24/06, nimisha sharma <[EMAIL PROTECTED]> wrote: > > got past the exception.. thanks a lot.. but i still am not getting the tabs > properly.. > I get them like : > Home > Maintenance > > Performance Fee > instead of the tabular structure. > > In my jsp, i have: > > > <menu:useMenuDisplayer name= "Velocity" config="/templates/nicetabs.html" > bundle ="org.apache.struts.action.MESSAGE"> > > <ul class="menuList" > > > <menu:displayMenu name= "TabbedHome"/> > > <menu:displayMenu name= "TabbedMaintenance"/> > > </ul> > > </menu:useMenuDisplayer> > anything missing still?? i hope i had some documntation to refer to so i > wont have to bother you again and again... > > > Regards, > Nimisha. > > > > > > > > On 8/24/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > Here's what struts-menu uses: > > > > <dependency> > > <id>velocity</id> > > <version>1.4</version> > > <url>http://jakarta.apache.org/velocity</url> > > <properties> > > < war.bundle>true</war.bundle> > > </properties> > > </dependency> > > > > <dependency> > > <id>velocity-tools</id> > > <version>view-1.0 </version> > > > <url>http://jakarta.apache.org/velocity/tools</url> > > <properties> > > <war.bundle>true</war.bundle> > > </properties> > > </dependency> > > > > Matt > > > > On 8/24/06, nimisha sharma <[EMAIL PROTECTED]> wrote: > > > > > > We are using maven to build, so i added velocity-tools-1.2.jar.. still > gives > > > the same exception.. > > > could you tell me what other jars i need to add.. coz i cudnt find > > > documentation about that. > > > > > > Thanks again, > > > > > > Nimisha. > > > > > > > > > On 8/24/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > Did you include Velocity as a dependency? You need velocity and > > > > velocity-tools, just like the sample app has. > > > > > > > > Matt > > > > > > > > On 8/24/06, nimisha sharma <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Thanks for the quick response. > > > > > > > > > > 1st i would like to tell you that we are using struts and spring. > The > > > > > version of struts that we are using is 1.2.9.. > > > > > As for struts-config.xml, I didnt get your question.. what do u mean > by > > > > > valid xml? The displayer tabbedMenu was working fine.. with the > same > > > > > struts-config.xml. > > > > > > > > > > Regards, > > > > > > > > > > Nimisha. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 8/24/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > On 8/24/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > > > What version of Struts are you using? Is your struts-menu.xml > valid > > > XML? > > > > > > > > > > Sorry, I meant struts-config.xml. > > > > > > > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > On 8/24/06, nimisha sharma < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Hi, > > > > > > > I just downloaded the 2.4 version of struts-menus. When I am > trying > > > to > > > > > > > configure the menu-config.xml file, somehow as soon as i put the > > > > > velocity > > > > > > > displayer, my application fails to deploy. The stack trace is as > > > > > follows: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [#|2006-08-24T12:35:03.588-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16 > ;| > > > > > > > > > > > > > > java.lang.reflect.InvocationTargetException > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > org.apache.commons.digester.Digester.createSAXException > (Digester.java:2792) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > org.apache.commons.digester.Digester.createSAXException(Digester.java > > > > > :2818) > > > > > > > > > > > > > > at > > > > > > > > > > > > org.apache.commons.digester.Digester.endElement > > > (Digester.java:1070) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement > > > > > (AbstractSAXParser.java:633) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221 > > > > > > > ) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872 > > > > > > > ) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch > > > > > (XMLDocumentFragmentScannerImpl.java:1693 > > > > > > > ) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > org.apache.struts.action.ActionServlet.init > (ActionServlet.java:336) > > > > > > > > > > > > > > ......... > > > > > > > > > > > > > > at java.lang.Thread.run(Thread.java:595) > > > > > > > > > > > > > > |#] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [#|2006-08-24T12:35:03.648-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16 > > > > > ;|WebModule[/FAMS]Marking > > > > > > > servlet action as unavailable|#] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [#|2006-08-24T12:35:03.648-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16 > > > > > ;|WebModule[/FAMS]Servlet > > > > > > > /FAMS threw load() exception > > > > > > > > > > > > > > javax.servlet.UnavailableException: Failure > > > > > initializing > > > > > > > struts-menu: Error parsing resource file: > /WEB-INF/menu-config.xml > > > > > nested > > > > > > > exception is: Error at (6, 75: null > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > org.apache.struts.action.ActionServlet.init > (ActionServlet.java:368) > > > > > > > > > > > > > > at > > > > > > > javax.servlet.GenericServlet.init > > > > > (GenericServlet.java:211) > > > > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl.java > > > > > :39 > > > > > > > ) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25 > > > > > > > ) > > > > > > > > > > > > > > at java.lang.reflect.Method.invoke (Method.java:585) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) > > > > > > > > > > > > > > at > > > java.security.AccessController.doPrivileged(Native > > > > > > > Method) > > > > > > > > > > > > > > at > > > > > > > > > > > > javax.security.auth.Subject.doAsPrivileged > > > (Subject.java:517) > > > > > > > > > > > > > > > > > > > > > > > > > > > > However, if I have TabbedMenu in my displayer, it works without > > > > > exceptions > > > > > > > but i dont get the tabs the way I can see on the velocity > example. > > > Is > > > > > there > > > > > > > some cofiguration that i might be missing? > > > > > > > > > > > > > > Help is greatly appreciated. > > > > > > > > > > > > > > Thanks and regards, > > > > > > > > > > > > > > Nimisha. > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > > > security? > > > > > > > Get stuff done quickly with pre-integrated technology to make > your > > > job > > > > > > > easier > > > > > > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > > Geronimo > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > > > > > > > > > _______________________________________________ > > > > > > > struts-menu-user mailing list > > > > > > > [email protected] > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > > > Get stuff done quickly with pre-integrated technology to make your > job > > > > > easier > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > Geronimo > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > _______________________________________________ > > > > > struts-menu-user mailing list > > > > > [email protected] > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user
