Hi Jean, I think I had the got the same exception when I tried to set
topnav.vm=top_default.jsp This thread might help you solve your issue. Thanks. Marphil --- Stefano Bianchi <[EMAIL PROTECTED]> wrote: > From: "Stefano Bianchi" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" > <[EMAIL PROTECTED]> > Subject: Re: Jetspeed 1.4 - trouble using jsp > instead of velocity template > Date: Fri, 26 Mar 2004 09:14:14 +0100 > > Dear Murphil, > > the one I suggested should be the only change in > JR.p relative to this > specific issue. > > System should then ignore topnav.vm, leftnav.vm, > bottomnav.vm when > formatting the portal layout. > > You just have to make all changes you need (images, > background) in relative > files in > [TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\navigations\html. > > Properties files are long to read and analyse, but > they are quite powerful! > > Good luck > Stefano > > > ----- Original Message ----- > From: "Marphil" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" > <[EMAIL PROTECTED]> > Sent: Friday, March 26, 2004 8:56 AM > Subject: Re: Jetspeed 1.4 - trouble using jsp > instead of velocity template > > > > Hi Stefano, > > > > Do I still need to change the following in JR.p? > > topnav.vm > > leftnav.vm > > bottomnav.vm > > > > Thank you very much! > > > > > > Marphil > > > > > > --- Stefano Bianchi <[EMAIL PROTECTED]> > > wrote: > > > > > > Dear Marphil, > > > have you changed the following line in > > > TourbineResources.properties in > > > [TOMCAT]\webapps\jetspeed\WEB-INF\conf? > > > You have to define which template you want to > use, > > > but consider (this is > > > what I experienced) that if you choose to use > jsp, > > > portal will be managed > > > with a mix of vm and jsp, and not only with jsp > > > (there are no controls nor > > > controllers implemented in jsp, but I'm still > using > > > Jetspeed 1.4-b3...) > > > > > > # > > > > > > ------------------------------------------------------------------- > > > # > > > # T E M P L A T E S E R V I C E > > > # > > > # > > > > > > ------------------------------------------------------------------- > > > > > > # Roughly, the number of templates in each > category. > > > # > > > # Defaults: layout=2, navigation=10, screen=50 > > > > > > services.TemplateService.layout.cache.size=2 > > > > services.TemplateService.navigation.cache.size=10 > > > services.TemplateService.screen.cache.size=50 > > > # > > > services.TemplateService.default.extension=vm > > > ------------------------------ > > > -----------------------------@@@ > > > services.TemplateService.default.extension=jsp > > > > > > Then if you want to change your top default just > > > modify top_default.jsp in > > > > > > [TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\navigations\html > > > and it will > > > work (no restart is needed if you change > something > > > on the fly). > > > > > > Best regards > > > Stefano > > > > > > > > > > > > ----- Original Message ----- > > > From: "Marphil" <[EMAIL PROTECTED]> > > > To: "Jetspeed Users List" > > > <[EMAIL PROTECTED]> > > > Sent: Friday, March 26, 2004 8:14 AM > > > Subject: Jetspeed 1.4 - trouble using jsp > instead of > > > velocity template > > > > > > > > > > Hi, > > > > > > > > Can anybody share how did they managed to use > jsp > > > on > > > > their portals? > > > > > > > > I tried... > > > > topnav.vm=top_default.jsp > > > > but is throwing a JasperException. > > > > > > > > Thanks. > > > > > > > > > > > > Marphil > > > > --- Jean-Baptiste Lievremont <[EMAIL PROTECTED]> wrote: > Hi, > > My JSP template for the left navigation displays " > Error processing > navigation template:/html/left.jsp using module: > BaseJspNavigation" at > the end of the generated HTML. The rest of the > content is as expected. > > I am running Jetspeed 1.4 and struts-menu 1.3 in > tomcat 5.0.19, JDK > 1.4.2_02 with sparcv9 extensions, sun solaris 8. > > The 'turbine.log' file reads : > > 2004-03-30 17:02:38,522 [http8080-Processor2] ERROR > JetspeedLoggingService - Error processing > navigation > template:/html/left.jsp using module: > BaseJspNavigation > java.lang.NullPointerException > at > org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:127) > at > org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321) > at > org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) > at > org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) > at > org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) > at > org.apache.velocity.Template.merge(Template.java:296) > at > org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492) > at > org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461) > at > org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) > at > org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) > at > org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) > at > org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106) > at > org.apache.turbine.modules.Layout.build(Layout.java:91) > at > org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) > at > org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169) > at > org.apache.turbine.modules.Page.build(Page.java:90) > at > org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) > at > org.apache.turbine.Turbine.doGet(Turbine.java:563) > ... > > The full stack trace is available at > http://mith.dnsalias.org/~mith/stackTrace-2004-03-30 > > I can send the source of the page upon request. > > Regards > > -- > | Jean-Baptiste Li�vremont > | > | E-mail : [EMAIL PROTECTED] > | > | [EMAIL PROTECTED] > | > | Tel : (+33)6.14.85.19.96 > | > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
