metal:use-macro should be TALES?

adam <[email protected]> Fri, 3 Mar 2006 15:54:11 +0000
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
------=_Part_2133_16463873.1141401251458
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Howdy.

I'm fairly new to petal, and have been battling through the standard
problems (overcoming my aversion to &amp;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=3D"dat/header" or
metal:use-macro=3D"foo/${dat/bar}/baz.xml" or
metal:use-macro=3D"string: dat/header"

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

Thanks for your help,
--
Adam

------=_Part_2133_16463873.1141401251458
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Howdy.<br>
<br>
I'm fairly new to petal, and have been battling through the standard
problems (overcoming my aversion to &amp;amp;s in hrefs, javascript
stuff etc etc), but am stumped on the latest one.<br>
<br>
Basically I want to choose which metal template to use at run-time, using s=
omething along the lines of<br>
<br>
metal:use-macro=3D&quot;dat/header&quot; or<br>
metal:use-macro=3D&quot;foo/${dat/bar}/baz.xml&quot; or<br>
metal:use-macro=3D&quot;string: dat/header&quot;<br>
<br>
Is this supported? Should I be doing something entirely different?<br>
<br>
Thanks for your help,<br>-- <br>Adam

------=_Part_2133_16463873.1141401251458--