cancel
Showing results for 
Search instead for 
Did you mean: 

JSP and Java Renderers

rmfought
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

rmfought
Champ in-the-making
Champ in-the-making
OK, I figured out JSP-rendered templates from Share, and updated the Surf Developer's Guide.

The other two issues still vex me though.  Java-backed WebScripts in Surf would be most useful.