Christoph Zwerschke wrote:
No, that's not possible. Once you loaded a template, it has been converted to a module. The original source template is not stored and there is no function to convert the loaded template back to its source.

Do you have any application for this?

-- Christoph

Yes. In TurboGears, I'd like to append a widget's template without having to rewrite the entire template.

class MyWidget(TGWidget):
    template = TGWidget.template + "<a href="">Stuff</a>"

Randall



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to