13 Oct
2000
13 Oct
'00
3:59 p.m.
Jim Fulton wrote:
Shane Hathaway wrote:
Jim Fulton wrote:
Note that if you get called from the web, RESPONSE will not be none. This is a handy way to decide if you are called from the web or as a sub-template. Of course, someone could pass a non-None RESPONSE argument directly.
This convention is helpful but not at all documented, so products (ZWiki is a good example) often break this convention.
Which convention? The passing of arguments with names meaningful to the publisher is certainly well documented.
No, I was referring to the convention of RESPONSE being passed only if ZPublisher is calling the method. It is not documented and often broken. Shane