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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@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 )

Reply via email to