[Zope3-Users] question about a constraint conflict

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Jan 8 02:08:43 EST 2007


On Sunday 07 January 2007 08:10, Christophe Combelles wrote:
> I understand there is an inconsistency between these two interfaces, and
> this is not a correct solution.
> But using just containers() on content objects doesn't prevent their
> containers from displaying everything in the Add Menu.
> It just prevents from adding these objects in other containers.

I just always use both, which is architecturally the right thing to do.

> Is there a way to restrict the Add Menu list of a specific container?

No, the constraints are the correct way. However, the menu code is really 
slow; I hope you are not planning to use it in production.

> (actually maybe I shouldn't bother with this, since the zmi and the addmenu
> is not an end solution for an application?).

Yep. :-) I agree.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list