portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Wagle" <arunwagle...@gmail.com>
Subject How to convert tcolumns from velocity format to jsp format
Date Fri, 24 Oct 2008 19:41:34 GMT
Hello

We want to use tcolumns in our layout but we are not able to do so as we
are using jsp everywhere and the tcolumns is a .vm template
As per this link https://issues.apache.org/jira/browse/JS2-711, there is no
jsp format available for tcolumns.

Does anyone know if this is currently available or how can we convert this
to .jsp template ?

I am getting the following error in the jetspeed log when I use tcolumns

2008-10-24 13:29:50,515 [http-8080-1] ERROR
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet - Error processing
vm template
org.apache.velocity.exception.ParseErrorException: Encountered " eq
\'Edit\'}\">\n
Customize\n
</c:when>\n
<c:otherwise>\n                                        <c:out value=\"" at
line 39, column 67 of decorations/layout/brushed-metal/header.jsp
Was expecting one of:
    "}" ...
    <DOT> ...
    "(" ...

 at org.apache.velocity.Template.process(Template.java:137)
 at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:415)
 at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
 at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
 at org.apache.velocity.runtime.directive.Parse.render(Parse.java:177)
 at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
 at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
 at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
 at org.apache.velocity.Template.merge(Template.java:254)
 at
org.apache.portals.bridges.velocity.BridgesVelocityViewServlet.mergeTemplate(BridgesVelocityViewServlet.java:119)
 at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:551)
 at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:507)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
 at
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:73)
 at
org.apache.portals.bridges.common.GenericServletPortlet.doView(GenericServletPortlet.java:364)
 at
org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortlet.java:307)
 at
org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiColumnPortlet.java:181)
 at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
 at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
 at
org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:103)
 at
org.apache.jetspeed.container.invoker.LocalPortletInvoker.invoke(LocalPortletInvoker.java:192)
 at
org.apache.jetspeed.container.invoker.LocalPortletInvoker.render(LocalPortletInvoker.java:117)
 at
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
 at
org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:121)
 at
org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute(RenderingJobImpl.java:271)
 at
org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:228)
 at
org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRender(PageAggregatorImpl.java:147)
 at
org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggregatorImpl.java:78)
 at
org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.java:46)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.aggregator.HeaderAggregatorValve.invoke(HeaderAggregatorValve.java:53)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.decoration.DecorationValve.invoke(DecorationValve.java:144)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.resource.ResourceValveImpl.invoke(ResourceValveImpl.java:130)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionValveImpl.java:184)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:109)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.container.PageHistoryValve.invoke(PageHistoryValve.java:108)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:248)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
com.bluenog.portalext.pipeline.customvalve.impl.CustomValveImpl.invoke(CustomValveImpl.java:61)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(LoginValidationValveImpl.java:159)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(PasswordCredentialValveImpl.java:150)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
 at
org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:175)
 at
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message