12 Feb
2000
12 Feb
'00
4:16 a.m.
Precondition is just a hook which allows File and its subclasses to veto rendering by raising an exception. If 'precondition' is set, it is treated as the name of a method of the object. This method is called during invocation of 'index_html' (the method called eg. if the object is addressed directly by a URL). ----- Original Message ----- From: Jim Sanford <jsanford@atinucleus.com>
What is the purpose of the precondition entry for a file object and how do I use it?
It's not documented (AFAIK) except by reference to the source. Cheers, Evan @ digicool