I chose a bad example with portal_url :(
Let's say there is some variable "foo" in the 'outer' template. My
viewlet has no knowledge of how to compute foo, but it knows it exists
by my own convention.
The only way for the viewlet to get to foo is by inspecting its scope
(which I don't know how to do), or by some horrid way such as the
outer template dropping the value foo onto the request with a
<tal:dummy define="dummy request.set('foo', 'bar')"/>
H
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers