[Zope-dev] Product tag accessing containing namespace?

Jim Fulton jim@digicool.com
Wed, 24 Mar 1999 08:53:08 -0500


"Shaw, Howard" wrote:
> 
> How can a product such as the contributed Calendar product, which adds a
> new tag, within the code which renders said tag, access the namespace of
> the containing document?

Using the mapping object passed to the render method.  This mapping
object *is* the namespace of the containing document.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.