3 May
2007
3 May
'07
2:55 a.m.
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