Hello,
I am using Jooby 2.9.6 and Handlebars.java.
I am trying to render a template to a string so that I can send it as an email yet I cannot seem to find the way to do this.
ModelAndView mvc = new ModelAndView("email_template.hbs");
...
String html = mvc.render()?????
I have found TemplateEngine and MessageEncoder but cannot seem to figure out how to get an instance to be able to render to a string.
This should be so simple... and knowing Jooby probably is ;-)
--Nikolaos