[Zope] Re: ZPT/TAL computed names?

Paul Winkler pw_lists at slinkp.com
Thu Mar 4 19:14:56 EST 2004


On Fri, Mar 05, 2004 at 12:59:58AM +0100, Tonico Strasser wrote:
> J C Lawrence wrote:
> 
> >How can I invoke a macro or a tal:replace where the macro or object name
> >has been dynamically computed at runtime?

http://www.zopelabs.com/cookbook/1014285275
is one way.

In metal:use-macro="foo",  foo can be any valid TALES expression
that returns a macro.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's DEMI-ELECTROCUTOR!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list