Discussion:
How to create an EDITABLE Sitemap template?
Bojana Lalic
2008-07-31 00:26:52 UTC
Permalink
Any help would be greatly appreciated :)



Regards



Bojana



From: Bojana Lalic
Sent: Thursday, 17 July 2008 11:41 AM
To: '***@jahia.org'
Subject: How to create an EDITABLE Sitemap template?



Hi all



Re: Jahia release 4.1.0_01, Build 6070



I need to create an editable sitemap template. It has to contain a left hand navigation which needs to be editable. (The sitemap itself doesn't need to be editable).



Has anyone managed to do this before? Does anyone have any suggestions?



I've tried encorporating the existing sitemap files and adding it to the list of templates. However, I am getting a null pointer exception



186884955 [TP-Processor2] ERROR org.jahia.engines.EngineRenderer.renderCore:213 - Root cause : Error while forwarding the Engine /jsp/jahia/templates/tasite/default/sitemap.jsp : null -> BAILING OUT

java.lang.NullPointerException

at org.apache.jsp.sitemap_jsp._jspService(sitemap_jsp.java:3169)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)

at org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:187)

at org.jahia.engines.EngineRenderer.render(EngineRenderer.java:78)

at org.jahia.engines.core.Core_Engine.processCore(Core_Engine.java:177)

at org.jahia.engines.core.Core_Engine.handleActions(Core_Engine.java:109)

at org.jahia.operations.OperationManager.handleOperations(OperationManager.java:302)

at org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

at org.jahia.bin.Jahia.process(Jahia.java:1545)

at org.jahia.bin.Jahia.service(Jahia.java:860)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)

at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)



I am guessing this is something to do with the default sitemap producing the following url: engineName/sitemap/ but am not exactly sure how to overcome...



Any help would be greatly appreciated J



Regards


Bojana




________________________________

Mind Over Matter - How Technology Matters
Find out how modern lifestyles and technologies are influencing the human mind at education.au's seminar on Tuesday 26 August, Sydney.
Find out more: www.educationau.edu.au


IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of education.au limited except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by
this email.


Mind Over Matter - How Technology Matters
Find out how modern lifestyles and technologies are influencing the human mind at education.au's seminar on Tuesday 26 August, Sydney.
Find out more: www.educationau.edu.au


IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of education.au limited except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by
this email.

Loading...