Maybe I could get it from ComponentManager by some role?
Thank you,
Michal
-Original Message-
From: Charles Yates [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 7:32 PM
To: [EMAIL PROTECTED]
Subject: Re: How to access sourceResolver in action configure() method
Can you put the conf
3 7:32 PM
To: [EMAIL PROTECTED]
Subject: Re: How to access sourceResolver in action configure() method
Can you put the configuration stuff into cocoon.xconf? Then it would be
available in configure(). If not you could implement Contextualizable
and get the HttpContext like this:
public void c
oops, I mean sitemap.xmap, not cocoon.xconf.
Charles Yates wrote:
Can you put the configuration stuff into cocoon.xconf? Then it would
be available in configure(). If not you could implement
Contextualizable and get the HttpContext like this:
public void contextualize(Context aContext) th
Can you put the configuration stuff into cocoon.xconf? Then it would be
available in configure(). If not you could implement Contextualizable
and get the HttpContext like this:
public void contextualize(Context aContext) throws ContextException {
myContext =
(HttpContext)
Michal,
The action has access to the SourceResolver in the act() method, but not
the compose() method. In cocoon2.1, I hear you can get access to the
SourceResolver via the ServiceManager (or will it still be the
ComponentManager?).
David
DURDINA Michal wrote:
Hello!
I am using own Configurab
Hello!
I am using own ConfigurableComposerAction and I have problem with loading
configuration from external file (from filesystem). In act() method, I would
use SourceResolver parameter passed to this method, but in configure()
method I do not know where should I get the source resolver from.
I a