Dear Christophe,
thank you for your answer, you're right, this way i get the container
object. additionally permission needs to be added for this method.
only one question remained unanswered. as i recognized zope3 collects
always all addmenu items. this i assume, because the traversal
exception
I think the context of an adding view is an object providing IAdding. The
context of the context might be the container of your object.
Try to set isNeedtoDisplay as the container's method, and maybe
"context/context/isNeedtoDisplay" as your filter.
Christophe
Ivan Horvath a écrit :
Dear All,
Dear All,
it seems that i have to use filter attribute in browser:addMenuItem
directive. i couldn't find any usable help how to use it, and my
trials are failed so far.
this is the menu declaration in zcml:
i receive always a TraversalError exception. i don't know where shall
i put the isN