Re: [Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces
On Friday 28 May 2004 02:48, Philipp von Weitershausen wrote:
Garrett Smith wrote:
This problem seems analogous to view lookup -- "content/++view++index.html" and "content/@@index.html" are equivalent.
So, applied to adapters, we could use:
content/++adapter++dc/title (or '++adapt++')
+1 on ++adapt++.
I think using the the traversal machinery and its syntax would be a very elegant solution. Then using either ##, ** or :: as a shortcut (in analogy to @@) would be even more consistent, since in current component-architecture-speak, views are multi-adapters.
Just compare them visually:
- context/@@absolute_url
+1 -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training
participants (1)
-
Stephan Richter