I think you want this:
Personally, I don't care for the shortcut syntax -- it's not clear
what's going on (at all). It also doesn't appear to support what you're
trying to do.
Florian Lindner wrote:
> Am Donnerstag, 28. April 2005 16:43 schrieb Garrett Smith:
>> I dont know whether action is evaluated or just passed through. But
>> I use the notation:
>> for path adapters. There might be a short-cut syntax, but I don't
>> recall what it is.
> I've found at that the problem is another one:
> Iterating of the keys of the object works:
> <div tal:repeat="itm request/principal/hf:keys">
> <span tal:replace="itm">test</span>
> hf returns a object derived from IContainer for the Interface and
> BTreeContainer for the Implementation.
> But I want the URL of the object hf returns. Everything I tried with
> absolute_url does not work. Of course I can add a method which returns
> zapi.absoluteURL(self, self.context) to the object but I'm sure there
> a better way. How to get the URL of the object...
>> Florian Lindner wrote:
>>> I've a a IPathAdapter:
>>> name="hf" />
>>> (from Stephans HomeFolderManager)
>>> Now I want a menu item that is pointing to that homefolder. How can
>>> I do that?
>>> [...]" />
>>> Does not work?
>>> Zope3-users mailing list
Zope3-users mailing list