hi all,

I want to load a component-manager from a selector, that I registered in
cocoon.xconf.

The problem is, that at configuration( .. ) time I have no way to access
the objectModel, like for instance in an Action.

But in order to get the configuration files properly, I somehow must
have access to the location of the Webapp-Context.

The problem is that the Context of the cocoon.xconf ComponentManager
does not have the Webapp Context Information, since it is a separate (as
far as I have read in the source code) one from the
CocoonComponentManager, which is used to process the request.

It would be great if the $context-root variable would be set for
cocoon.xconf like it works within logkit.xconf ... 
- Why is this not done - is this a code smell?

The other thing I come to like is to use the JNDI Environmental Context
"comp/env", which would be insofar great, as the components could be
easier portable to other environments, e.g. no webapp environments,
since JNDI comp/env is not servlet specific, or cocoon specific like
org.apache.cooon.environment.* package.

any hint is appreciated.

thanks

-- Jakob


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to