5 Nov
2002
5 Nov
'02
7:32 p.m.
Tino> The problem is, you should not try to 1:1 translate DTML examples Tino> to ZPT. If you do so, you would undermine its use. Instead of Tino> assembling a page out of small parts (like DTML does), in ZPT you Tino> use template pages which look like the resulting page, for example Tino> like this: ... Thanks, that helps. Tino> Then you would start designing an actual content page like this: Tino> <html metal:use-macro="here/mastertemplate/macros/master"> Tino> </html> Tino> [x] expand macros when editing and press "Save Changes" I thought I saw someone else say recently that macro expansion while editing is vile. -- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/