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...


Simplistix - Content Management, Zope & Python Consulting

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to