[Zope] Howto Use METAL Macros from PythonScripts?

Paul Winkler pw_lists at slinkp.com
Sat Jan 24 18:46:17 EST 2004


On Sun, Jan 25, 2004 at 12:25:33AM +0100, Johan Carlsson wrote:
> I've been "all over the place" for a solution howto use METAL macros 
> from PythonScript but I can find any.
> 
> Is there anyone that can help me out? (or do I just have to fall back on
> old fasion DTML Methods)?

Maybe you should explain more what you are trying to do.
You can get access to a macro easily enough:

mymacro = context.name_of_template.macros[name_of_macro]

... but what do you want to *do* with it?

-- 

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



More information about the Zope mailing list