class MyView(BrowserView):
         def __call__(self):
             pt = ViewPageTemplateFile('empty.pt')
             data = pt()
             return data


try this:

pt = ViewPageTemplateFile('empty.pt')
return pt(self)

  Nope, same result:

    AttributeError: 'str' object has no attribute 'other'

  Cheers,

        mjl
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to