Victor Safronovich wrote:
_afterValidateHook do many thinks specific to the portal such as
1. Sets response charset according to the user's selected language.
Why not just do this is a normal traversal hook such as an access rule?
2. Replaces HTML-encoded entities with their corresponding
Victor Safronovich wrote:
My Product wants to replace zpublisher_validate_hook in Zope2.__init__.
Why on earth would you want to do that?!
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
Victor Safronovich schrieb:
Hello Chris Withers,
Tuesday, November 8, 2005, 1:26:29 PM, you wrote:
CW Why on earth would you want to do that?!
:) my product needs to do some specific things, right after the user
is authenticated and becomes known. hook is hook and it may be overloaded
Victor Safronovich schrieb:
Hello Tino Wildenhain,
Tuesday, November 8, 2005, 4:29:39 PM, you wrote:
TW You might want to look at userfolder implementation, for example PAS.
Thank you, i look at it, but this is another story ;).
Now you should tell us what you are really doing here :-)
Victor Safronovich wrote:
But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to
True, because Zope2.Startup.start_zope was never called, instead of that
called
Zope2.Startup.run.run function.
This sounds like a bug, but why do you want to know this?
Chris
VSHow could i find the moment when zope was started in Zope 2.8?
VSin Zope 2.7 was the variable 'Zope.Startup.started', which setted to
True when
VSzope was started.
VSBut in Zope 2.8 the variable 'Zope2.Startup.started' not changed its
value to
VSTrue, because