[Zope3-dev] Re: Creating a resource: Presentation service not available

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 16 09:06:18 EDT 2004


On Sunday 10 October 2004 21:34, Mayne, Peter wrote:
> Stephan Richter wrote:
> > On Wednesday 06 October 2004 20:43, Peter Mayne wrote:
> > > > Implement a directive similar to the `browser:resource`
> >
> > directive. When
> >
> > > > you use the directive, the services will all be up and running.
> > >
> > > You'll add this to the book, won't you? :-)
> >
> > No, this is **far** to specific. I talk about creating
> > directives in general
> > and that's enough I believe.
>
> So how will I know that the services will be running by the time my
> directive gets used? :-) That's why I asked the question in the first
> place.

By the time your application ZCML will be called, all basic services are 
running, especially the Service, Adapter and Utility Service.

All of the zope.app ZCML is executed before application-specifc ZCML actions 
are called.

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-dev mailing list