Re: How to access sourceResolver in action configure() method

2003-05-29 Thread Charles Yates
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

RE: How to access sourceResolver in action configure() method

2003-05-28 Thread DURDINA Michal
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

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread Charles Yates
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

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread Charles Yates
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)

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread David Kavanagh
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

How to access sourceResolver in action configure() method

2003-05-27 Thread DURDINA Michal
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