[stringtemplate-interest] template existence testing

Zenaan Harkness zen at freedbms.net
Wed Apr 2 16:34:01 PDT 2008


> Option 3)
> Have a facility (in the driver, or directly in the template engine)
> which can test for the existence of an arbitrary, name not known in
> advance, template, and only _if_ it exists, execute this template, thus
> avoiding the "template not found" ST error:

I'm in the middle of hacking up a method in my driver, making use of the
existing ST facilities (getTemplateNames(), getSuperGroup()), to create
the functionality I am after.

If anyone needs such a beast, let me know and I'll see about tidying it
up.

Zen

-- 
Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org
Please respect the confidentiality of this email as sensibly warranted.


More information about the stringtemplate-interest mailing list