Re: [Zope3-dev] Re: Get a template resource object from code.

2005-08-28 Thread Stephan Richter
Hi Johan, why are you trying to misuse the system so hard? Can you provide us with your original use case? On Tuesday 16 August 2005 18:23, Johan Carlsson wrote: 1. Resources gets registered as adapters in the Global Site Manager. Yep. 2. The adapter is registerd to adapt from the current

[Zope3-dev] Re: Get a template resource object from code.

2005-08-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Carlsson wrote: No lock on the Zope3-users list I turn here. How do I get a page template resource object define in a named layer from Python code? Look at what the handler for the browser:resource directive does:

Re: [Zope3-dev] Re: Get a template resource object from code.

2005-08-16 Thread Johan Carlsson
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Carlsson wrote: No lock on the Zope3-users list I turn here. How do I get a page template resource object define in a named layer from Python code? Look at what the handler for the browser:resource directive does: