[z3-five] Menu and MenuItem in Five
Lennart Regebro
regebro at gmail.com
Thu Oct 19 15:34:20 CEST 2006
On 10/19/06, Maciej Wisniowski <maciej.wisniowski at coig.katowice.pl> wrote:
> Is this possible somehow to get these menu items to be
> visible in ZMI just like standard tabs?
Short answer: no.
Long answer: Of course, but it's very complicated. :)
> Now I have this in my code:
>
> manage_options = ( PropertyManager.manage_options + \
> SimpleItem.manage_options #+ \
> #globalBrowserMenuService.getMenu('testmenu',
> IMain, IBrowserRequest)
> )
That will firstly be executed when the module is imported, and will
not include all the menues defined in any case, and secondly, that
will return a list of menu items, not a list of ZMI-tabs.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.nuxeo.org/
More information about the z3-five
mailing list