For those who don't know, HTML.Template.java is a java implementation of HTML::Template. It is almost completely compatible with HTML::Template.pm
The only thing not supported are the caching directives and filters (which are on the way).
By popular demand, this release has the global_vars option. die_on_bad_params has also been included.
The tutorial on the website has also been updated to reflect some of the newer constructs.
Homepage: http://html-tmpl-java.sourceforge.net/
Changes in current release:
ver 0.1.1
- Fixed bug in tmpl_var which failed if parameter was not a String - TMPL_VAR and TMPL_LOOP now give a reasonable error message if parameter is of the wrong type - Var.typeOfElement now actually returns the type and not the name - support for die_on_bad_params - support for global_vars - New __COUNTER__ TMPL_LOOP context variable - Can now set default values for TMPL_VARs through the template: <TMPL_VAR name="myvar" default="default_value">
Philip