[Twisted-web] Nested Nevow templates

Erik Swan erik at splunktechnology.com
Thu Nov 4 17:24:52 MST 2004


Got the macro code in and its more or less what i need to do! Saved me a 
few days of wresting code i dont understand.

I prefer not having to define the macro's as methods as you did in the 
tac file but instead just dynamically build them in the macroFactory by 
munging the filename and caching results - that way i dont need to 
change code if a designer just wants to make an html "include".  In my 
case, someone other than an engineer is changing html files, cutting 
them up, rearranging components, and it would be great if they could do 
all that and never touch code.

Thanks everyone else for the comments.


More information about the Twisted-web mailing list