Re: [Zope-dev] moment when zope was started.

2005-11-09 Thread Chris Withers
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 cha

Re: Re[4]: [Zope-dev] moment when zope was started.

2005-11-09 Thread Lennart Regebro
On 11/9/05, Victor Safronovich <[EMAIL PROTECTED]> wrote: > Ok, i need to replace zpublisher_validate_hook with my hook. [...] > _afterValidateHook do many thinks specific to the portal such as > 1. Sets response charset according to the user's selected language. > 2. Replaces HTML-encoded entiti

Re[4]: [Zope-dev] moment when zope was started.

2005-11-08 Thread Victor Safronovich
Hello Lennart Regebro, Tuesday, November 8, 2005, 6:43:23 PM, you wrote: LR> Yeah, but he asked for what you are trying to do, not what you want to LR> know. We can't help you if we don't know what you are trying to do. Ok, i need to replace zpublisher_validate_hook with my hook. my hook: de

Re: Re[2]: [Zope-dev] moment when zope was started.

2005-11-08 Thread Lennart Regebro
On 11/8/05, Victor Safronovich <[EMAIL PROTECTED]> wrote: > Hello Tino Wildenhain, > > Tuesday, November 8, 2005, 5:56:25 PM, you wrote: > > TW> Now you should tell us what you are really doing here :-) > Subject: Re: [Zope-dev] moment when zope was started. >

Re[2]: [Zope-dev] moment when zope was started.

2005-11-08 Thread Victor Safronovich
Hello Tino Wildenhain, Tuesday, November 8, 2005, 5:56:25 PM, you wrote: TW> Now you should tell us what you are really doing here :-) Subject: Re: [Zope-dev] moment when zope was started. /\ want to know | -/ -- B

Re: [Zope-dev] moment when zope was started.

2005-11-08 Thread Tino Wildenhain
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 :-) _

Re[2]: [Zope-dev] moment when zope was started.

2005-11-08 Thread Victor Safronovich
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 ;). -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru

Re: [Zope-dev] moment when zope was started.

2005-11-08 Thread Tino Wildenhain
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

Re[2]: [Zope-dev] moment when zope was started.

2005-11-08 Thread Victor Safronovich
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 as with zpublisher_exception_

Re: [Zope-dev] moment when zope was started.

2005-11-08 Thread Chris Withers
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 ___

Re: [Zope-dev] moment when zope was started.

2005-11-07 Thread Victor Safronovich
VS>How could i find the moment when zope was started in Zope 2.8? VS>in Zope 2.7 was the variable 'Zope.Startup.started', which setted to True when VS>zope was started. VS>But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to VS>True, because Zope2.

Re[2]: [Zope-dev] moment when zope was started.

2005-11-07 Thread Victor Safronovich
Hello Chris Withers, Monday, November 7, 2005, 8:15:58 PM, you wrote: CW> 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.Sta

Re: [Zope-dev] moment when zope was started.

2005-11-07 Thread Chris Withers
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 --

[Zope-dev] moment when zope was started.

2005-11-02 Thread Victor Safronovich
Hello zope-dev! How could i find the moment when zope was started in Zope 2.8? in Zope 2.7 was the variable 'Zope.Startup.started', which setted to True when zope was started. But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to True, because Zope2.Star