[z3-five] Calling a browser:page from a browser view
Bernd Dorn
zope-mailinglist at mopa.at
Sun Apr 2 14:21:18 CEST 2006
On 02.04.2006, at 11:19, Andreas Jung wrote:
> For a Plone content-type I defined a browser view and some browser
> pages.
> Inside a method of the browser view I would like to call at PT
> configured
> as browser page using:
>
> return self.context.feedback_form(status=xxx, redirect=yyyy)
a browser pagee is a multiadapter, so you have lookup it as such
view = zope.component.getMultiAdapter((self.context, self.request),
name='feedback_form')
return view(status=xxx,redirect=yyy)
>
> However the 'feedback_form' raises an AttributeError...anything I
> am missing?
>
> Andreas_______________________________________________
> z3-five mailing list
> z3-five at codespeak.net
> http://codespeak.net/mailman/listinfo/z3-five
More information about the z3-five
mailing list