[z3-five] Re: menu/menuItem + action support

Philipp von Weitershausen philipp at weitershausen.de
Sun Nov 14 21:25:14 MET 2004


Lennart Regebro wrote:
> I looked into adding some support for CMF actions today, and came up 
> with something that looks useful.
> 
> First I ported globalBrowserMenuService to Z2 (as the one in Z3 relies 
> on Z3 internals that differ from Z2), and then I create a "FiveTool" 
> that is an action provider.

Maybe this should be called a FiveCMFActionTool because

a) it's specific to CMF
b) it's specific to actions

> Now I can create menuItems in ZCML that will pop up in the normal 
> actions listing!
> 
> So, question:
> Do you feel this is a good way forward?

Yes, this sounds like a very good approach.

> Is there any interest that I 
> finalize this (it's quite rough and ugly now) and give it to you? We 
> quite like the solution of making actions menuItems.
> 
> I guess the menu/menuItems directives should go into Five itself, and 
> the FiveTool (or something like it) into CMFonFive?

Yup, exactly. I would be looking forward to this contribution!

Philipp


P.S.: Do you have committer rights? If not, meet me on #z3-base @ 
irc.freenode.net and I can arrange it.



More information about the z3-five mailing list