Hi all!

How can I control the way an attribute of a product is readed? __getattr__? __getattribute__?

I try the __getattribute__ way but it modifies the property pages


I create an object instance of the product and like:

Property1 = 'Some text'
Property2 = 2006-10-18

I would like to call Property2 like

object.Property2 and retrieve the data with the current locale

For spanish locale I would like to retrieve 18-10-2006

But if I read the property pages of this object I would like to conserve the given data

Is this possible?


Mis Cosas

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

Reply via email to