Hi all
I fighting with these PUT_factory

def PUT_factory(self, name, typ, body):
      from Products.Yanged.FicheroYanged import FicheroYanged
      if name.endswith('.mm'):
ob = FicheroYanged(name, 'Fichero de estrucutra de ' + self.getId(), body, 'LanzarProcesarFreeMind', self.getId(), typ)
              return ob
      return None

It's curious because these function (put on the same container) works perfectly:

def CrearFicheroYanged(self):
      """ """
      from Products.Yanged.FicheroYanged import FicheroYanged
ob = FicheroYanged('Fichero', 'Fichero de pruebas de ' + self.getId(), '', '', self.getId(), 'text/plain')
      self._setObject('Fichero', ob)
      return ob.getId()

Could anyone find the mistake?


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