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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to