On Thu, 2003-09-25 at 06:41, Chris Withers wrote:
> Tres Seaver wrote:
> > I have wanted to add a binding to the TALES namespace to allow access to
> > the "skin object" for some time:  the current values in the namespace
> > are:
> > 
> >     'content' -- the skin object's aq_parent
> > 
> >     'view' -- the skin object's name (a really bad choice for the key)
> > 
> >     'keywords' -- any keywords passed to the "method"
> > 
> >     'request'  -- the request object
> > 
> >     'member'  -- the authenticated member (None for anonymous)
> > 
> >     'time' -- request time
> 
> Are these specific to the caching policy manager?

Yes.  Any object which uses TALES needs to set up the bindings for the
top-level names which are available to TALES expressions, using the
'getContext' method of the TALES engine.

> Where and how are they implemented?

Products.CMFCore.CachingPolicyManager.createCPContext.

Tres.
-- 
===============================================================
Tres Seaver                                [EMAIL PROTECTED]
Zope Corporation      "Zope Dealers"       http://www.zope.com


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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