[Zope] Late binding

Garito garito at sistes.net
Wed May 2 22:55:59 EDT 2007


Hi all!
In this function:

def ProcesarTALES(self, expresion, args = None):
        if expresion is None: return None
        engine = getEngine()
        contextoTALES = {'container': self.aq_parent, 'here': self,
'context': self, 'request': self.REQUEST, 'options': {}, 'sitio': self.Sitio(),
'user': getSecurityManager().getUser(), 'entidad': self.Entidad()}
        if args is not None: contextoTALES['options'] = {'args': args}
        resultado = engine.getContext(contextoTALES).evaluate(engine.compile
(expresion))
        return resultado

is possible that the execution of entidad (self.Entidad()) has launched at
evaluation time not at assign time?

Thanks!
-- 
Mis Cosas
http://blogs.sistes.net/Garito
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070503/1474a288/attachment.htm


More information about the Zope mailing list