Stuart,

> I'm trying to use the TemplateRepresentation for the Velocity extension as 
> part
> of a webapp, but I am having problems configuring the template location.

Have you tried this:

 org.restlet.ext.velocity.TemplateRepresentation r = new
org.restlet.ext.velocity.TemplateRepresentation(...);

r.getEngine().setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH,
"/path/to/resources");



-vincent.

Reply via email to