[Zope-dev] moment when zope was started.

Chris Withers chris at simplistix.co.uk
Wed Nov 9 06:30:40 EST 2005


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 characters in the POST form data.

Incomign POST form data? Why not just munge the data when you get it 
from the request in your application?

> 3. Changes system locale according to the portal language.

Can be done in an access rule...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list