[ZPT] Metal and macros

Dieter Maurer dieter@handshake.de
Tue, 17 Jul 2001 23:38:09 +0200 (CEST)


Magnus Heino writes:
 > ... defining METAL macros in something not a PageTemplate ...
 > What if I want myobject NOT to be a PageTemplate. What methods should
 > I implement?
Why would you want them outside a PageTemplate?

 > How can I have classes other than PageTemplate defining macros?
You give your class a "macros" method that delegates to lookup
to a subordinate PageTemplate.

Probably there is also a more direct way. Look at the METAL
source.


Dieter