[Helma-user] Javascript Template Enginee
Julian Tree
julian.tree at gmail.com
Tue Sep 19 19:16:36 CEST 2006
This question I guess is more specific to Jürg. Is it possible to have
1. this.renderTemplate() to not just read from it's own prototype dir,
but instead also search in the skinPath set in the app.properties?
2. have the option to make this.renderTemplate() to take a string
instead of a template file as it's template?
Maybe a new method such as this.renderTemplateFromString();
something like
this.renderTemplateFromString("Hello <%= req.data.firstName %>!", param);
// out puts Hello Lori!
And what is the status of integrating Javascript Template Engine to
helma? A while a go I read on the mailing list that Jurge's template
engine is being consider as the standard template engine for helma. It
would be great if we can replace
# HopObject.renderSkin()
# HopObject.renderSkinAsString()
renderSkin()
with what the the javascript template engine does.
Will this happen in Helma 1.6?
More information about the Helma-user
mailing list