[Zope3-Users] Re: required attributes of menuItem
Philipp von Weitershausen
philipp at weitershausen.de
Mon Mar 7 09:14:49 EST 2005
Stephan Richter wrote:
> On Sunday 06 March 2005 15:19, Florian Lindner wrote:
>>Adding a for="*" makes it working.
> Of course you have to specify for which object the menuitem is for. A menu
> item is a view on an object.
Maybe so, but I'm pretty sure that X3.0 allowed you to leave the for=""
attribute out in which case it registered the menu item for *. If that's
the case (somebody should verify), we need to have this back in the
trunk for backward compatability.
In any case, Florian should not have gotten the error from above. If the
for="" attribute really is required, the directive schema should say so
by making the corresponding field required. It is currently not required.
Florian, please create an issue in the collector, post the last couple
of lines of your traceback and explain the problem. You can quote this
email of mine if you'd like. If you want to go for extra credit, maybe
you can also check if it works in X3.0 when leaving the for="" out.
Thanks for reporting,
More information about the Zope3-users