AnsweredAssumed Answered

JSP and Java Renderers

Question asked by rmfought on Aug 28, 2009
Latest reply on Aug 30, 2009 by rmfought
Since the Surf forum is not yet open to discussion, I'll ask the question here since Share is built on Surf.

Is the JSP Renderer and Java-backed Web Script functionality present in the current build of Surf?  Or are they still "beta"?

Also, I am trying to specify template instances explicitly as per The Developer's Guide

The first method works fine (where Surf implies Freemarker as the template type):

<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
<template-type>index</template-type>
</template-instance>

but the second does not:

<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
<template-type>freemarker</template-type>
<url>index</url>
<properties>
</properties>
</template-instance>

The error I get is:

org.alfresco.web.framework.exception.RendererExecutionException: FreemarkerProcessor failed to process template: null.ftl

The freemarker.xml template type is present.  Any ideas?

Thanks,
Rich

Outcomes