Hello,

see below.

> Alexander Berezhnoy wrote:
> > Hello!
> > In the javadocs it's mentioned the possibility of request-time
> > configuration of an InputModule:
> >
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/in
put/package-summary.html
> >
> > But I couldn't find anywhere the details of how to do that.
> > Please, could anybody explain me that point or give a reference to a doc
> > or example?
>
> Seems to be suggesting that the input module gets things like the object
> model at runtime. And, with the object model, you can get at the
> request, for example.
>
> Think about it, without that facility, you couldn't write a
> request-param input module.
>
> Regards, Upayavira

Yes, I know about object model. But what I'm talking about is the
Configuration object.
If we look at the sources of XMLFileModule, we can see that it uses
Configuration parameter in order to obtain the filename at runtime and thus
to override the cocoon.xconf settings.
I want to use XMLFileModule with the runtime-obtained source, so I must pass
Configuration object.

Thanks,
Alexander.
//////////////




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

Reply via email to