cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gelo1234 <gelo1...@gmail.com>
Subject Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)
Date Mon, 18 Feb 2013 14:03:12 GMT
So value from any parameter name (not only "source" is available from
setConfiguration(...) configuration object :)

Thanks for clarifying this!

Greetings,
-Greg


2013/2/18 Thorsten Scherler <scherler@gmail.com>

> On 02/11/2013 01:55 PM, gelo1234 wrote:
> > ...
> > So the setup(...) has access to sitemap parameters :) Why not
> > setConfiguration(..) ?
> >
> > Does call:
> > this.setup((Map<String, Object>) configuration)
> > strips off?/adds? some unwanted/additional data for sitemap-servlet
> > framework ?
> >
> > As i recall setConfiguration is for Java only (without
> > sitemap-servlet) Cocoon use and setup is for standard sitemap-servlet
> > ? Is that correct ?
> >
>
> No actually setConfiguration is for passing parameters from the sitemap
> to the component e.g. http://svn.apache.org/r1447255
>
> The setup() will be called when the pipeline setup is called, I think we
> should drop one since it is highly confusing.
>
> salu2
>
> --
> Thorsten Scherler <scherler.at.gmail.com>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>
>
> http://www.codebusters.es/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message