[Zope3-Users] Using IPathAdapter on menuItem
Garrett Smith
garrett at mojave-corp.com
Thu Apr 28 10:43:35 EDT 2005
I dont know whether action is evaluated or just passed through. But I
use the notation:
foo/++adapter++myadapter/bar
for path adapters. There might be a short-cut syntax, but I don't recall
what it is.
-- Garrett
Florian Lindner wrote:
> Hello,
> I've a a IPathAdapter:
>
> <adapter
> for="zope.security.interfaces.IPrincipal"
> provides="zope.app.traversing.interfaces.IPathAdapter"
> factory=".homefolder.getHomeFolder"
> name="hf" />
>
> (from Stephans HomeFolderManager)
>
> Now I want a menu item that is pointing to that homefolder. How can I
> do that?
>
> <menuItem
> action="principal/hf"
> [...]" />
>
> Does not work?
>
> Thx,
>
> Florian
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
More information about the Zope3-users
mailing list