[Petal] metal:use-macro should be TALES?

adam adamlounds at gmail.com
Fri Mar 3 15:54:11 GMT 2006


Howdy.

I'm fairly new to petal, and have been battling through the standard
problems (overcoming my aversion to &s in hrefs, javascript stuff etc
etc), but am stumped on the latest one.

Basically I want to choose which metal template to use at run-time, using
something along the lines of

metal:use-macro="dat/header" or
metal:use-macro="foo/${dat/bar}/baz.xml" or
metal:use-macro="string: dat/header"

Is this supported? Should I be doing something entirely different?

Thanks for your help,
--
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.webarch.co.uk/pipermail/petal/attachments/20060303/393caa2d/attachment.html


More information about the Petal mailing list