def _getForm(self, content):
        form = getattr(self, 'form', None)
        schema = self.schema

        self.subform = zope.component.getMultiAdapter(
            (content, self.request, self.context,
             form, self, self.field, makeDummyObject(schema)),
            ISubformFactory)()
    def render(self):
        """See z3c.form.interfaces.IWidget."""
        template = self.template
        schema = self.schema

        if template is None:
            template = zope.component.queryMultiAdapter(
                (self.context, self.request, self.form, self.field, self,
                 makeDummyObject(schema)),
                IPageTemplate, name=self.mode)
            if template is None:
                #return super(ObjectWidget, self).render()
                return Widget.render(self)
        return template(self)