[ZPT] Re: {Spam?} Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

Jim Fulton jim at zope.com
Thu May 27 07:05:38 EDT 2004


Steve Alexander wrote:
> 
>>> Of course, Steve suggested:
>>>
>>>   ob:adaptername       context:dc/title
>>
>>
>>
>> This really doesn't make sense. To me it reads "In the namespace of
>> context get the title of dublin core".
> 
> 
> I'm not reading ":" as having anything to do with namespaces.  Rather, I 
> see '/' as the "traverse" operator, and ":" as the "adapt" operator.

Right, and the "adapt" operator can be thought of as a specialized form of traversal.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org




More information about the ZPT mailing list