On 18/02/2013 14:50, Thorsten Scherler wrote:
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.

+1 - I get often confused as well... :S

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to