[Zope] python method calling template page

jon cashman jon_s_c at hotmail.com
Thu Apr 8 21:08:46 EDT 2004


Here's another newbie question. Can anyone out there answer? Thanks!

How do you call a template page within a Python external method? According 
to the Zope Book, there is an example where the Python method ends with:

return context.responseTemplate()

What method is this? How do I set it? This is not explained in the book. 
Also, I guess it's true that in the same example:

return context.formTemplate()

calls the page template that called this Python method.

Again thanks for your time!!!

- jon

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/




More information about the Zope mailing list