12761277127812791280128112821283128412851286
*/ nodeTree.render(ica, writer); } finally { ica.popCurrentTemplateName(); } return true; }
368369370371372373374375376377378
tree.init(ica, runtime); StringWriter w = new StringWriter(); tree.render(ica, w); return w.toString(); } finally { ica.popCurrentTemplateName(); } } catch (Exception e) { throw new EmailException("Cannot format velocity template: " + template, e); } }
243244245246247248249250251252253
/* * in case something blows up... * pull it off for completeness */ ica.popCurrentTemplateName(); } } /**
298299300301302303304305306307308
finally { /* * lets make sure that we always clean up the context */ ica.popCurrentTemplateName(); ica.setCurrentResource( null ); } } else {
357358359360361362363364365366367
nodeTree.render( ica, writer ); } finally { ica.popCurrentTemplateName(); } return true; }
358359360361362363364365366367368
355356357358359360361362363364365
321322323324325326327328329330331
203204205206207208209210211212213
256257258259260261262263264265266