Hi all!

Please, look at this code:

def __bobo_traverse__(self, REQUEST, name):
       obj = getattr(self, name, None)
       if obj is not None: return obj
           obj = self.Dame(name)
           if obj is not None: return obj
if 'Parametros' in self.REQUEST: self.REQUEST['Parametros'] = self.REQUEST['Parametros'] + [name]
               else: self.REQUEST['Parametros'] = [name]
               return self

self.Dame is a function that seeks for an object with the name "name"

I wonder why I can do this on a Page Template:

<tal:b tal:replace='python: here.Texto' />

Where Texto is a adquired property, but not this:

<tal:b tal:replace='here/Texto' />

because zope raises an unauthorized error

How can I solve this point?


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