[Zope3-Users] Using IPathAdapter on menuItem

Florian Lindner mailinglists at xgm.de
Wed Apr 27 16:42:36 EDT 2005


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


More information about the Zope3-users mailing list