Donate Share

HTML.Template java package

File Release Notes and Changelog

Release Name: 0.1.1

Notes: Template.java line 229, template->setParam should be something like tmpl.setParam.


Changes: <ul> <li>Fixed bug in tmpl_var which failed if parameter was not a String</li> <li>TMPL_VAR and TMPL_LOOP now give a reasonable error message if parameter is of the wrong type</li> <li>Var.typeOfElement now actually returns the type and not the name</li> <li>support for die_on_bad_params</li> <li>support for global_vars</li> <li>New __COUNTER__ TMPL_LOOP context variable</li> <li>Can now set default values for TMPL_VARs through the template:<br> <code>&lt;TMPL_VAR name="myvar" default="default_value"&gt;</code> </li> </ul>