Rocky Burt wrote:
On Sun, 2007-07-01 at 18:05 +0100, Christophe Combelles wrote:
But what did you mean as "set the site"?
do you mean with hooks.setSite() ?
Yes ... keeping in mind that this happens automatically during traversal
by IBeforeTraversalEvent handlers.
Right. setSite() should not be in app code, only in tests (if at all;
they should probably be functional tests if you have the urge to use it).
http://worldcookery.com -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!
Zope3-users mailing list