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

Brian Sutherland brian at vanguardistas.net
Fri Jan 18 14:27:28 EST 2008


On Fri, Jan 18, 2008 at 12:57:33PM -0500, Stephan Richter wrote:
> On Friday 18 January 2008, Fred Drake wrote:
> > That almost supports the use case. ?Do the adaptation first, then use ?
> > self.template if there's no adapter, and you're golden.
> 
> That's what we are doing too. z3c.template is pretty much that.

Can I register a template for this lookup using z3c.template?

    getMultiAdapter((self.my_discriminating_object, self, self.request), interface=IPageTemplate)
 
-- 
Brian Sutherland


More information about the Zope-Dev mailing list