AW: [Zope-dev] A z3c.jbot without a monkey

Roger Ineichen dev at projekt01.ch
Fri Jan 18 23:01:22 EST 2008


Hi Brian

> Betreff: Re: [Zope-dev] A z3c.jbot without a monkey

[...]

> Can I register a template for this lookup using z3c.template?
> 
>     getMultiAdapter((self.my_discriminating_object, self, 
> self.request), interface=IPageTemplate)

No, because our template is only a part of the view and
adapts this view.
We normaly access only the view and not the context from a template.
There is no option to adapt other discriminators.

Regards
Roger Ineichen

> --
> Brian Sutherland
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  ** (Related lists -  
> http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
> 



More information about the Zope-Dev mailing list