On Monday 25 April 2005 11:08, Dominik Huber wrote:
> Stephan Richter wrote:
> >On Monday 25 April 2005 09:03, Dominik Huber wrote:
> >>Problem: A framework package 'b.x' registers a dedicated menu 'b_views'.
> >>A package 'a.x' using 'b.x' should be able to register menu items
> >>refering 'b_views'. The initialisation will fail because 'a.x' is loaded
> >>before 'b.x' and therefore  'a.x' cant register any view to 'b_views'
> >>because the menu does not exists yet.
> >
> >I am pretty sure we had a solution for this problem already. I think you
> >simply do:
> >
> ><include file="a-configure.zcml>
> >
> >inside b-configure.zcml in package-includes.
> 'a' does not know 'b', but 'b' depends on 'a'.

It does not have to; only b knows about a. Unless we cannot find a better 
solution (which I really want to try hard finding), the suggested solution 
right now is not acceptable. Dominik, please try my solution first.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to