I agree about inheritance , which is my main issue w/ this, but I needed themes.Interesting twist. Apart from losing the inheritance (which I think is a very big deal), doesn't this mean that the template is nominally in control, because it--in a sense--initiates the call to the servlet? I'm not sure if this is good or bad. Right now, my thinking is that it is better to have the servlet in control....Edmund.
The servlet is in conrol. In sitepage.py's writeHTML I call the "main" template. Cheetah templates are never called directly and I never run cheetah-compile. In practice I load and compile the template in the servlets _init_ and store it as a instance var.
I also do not pass locals() to the template, only the methods that the template could call.
-Aaron
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel