Hi,

I was looking at some of the cocoon source-code that has some configurable entries in the sitemap
(eg: ResourceReader, TraxTransformer etc.)

in the configure method, it retreives the entry from sitemap in the following way,

Configuration child;
child = conf.getChild("use-request-parameters");
this.useParameters = child.getValueAsBoolean(false);
this._useParameters = this.useParameters;

and again, in the setup method,

_useParameters = par.getParameterAsBoolean("use-request-parameters", this.useParameters);

----------
whats the difference between the two???
why should we do it 2 times???

thanks

-S.

_________________________________________________________________
Share your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features


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

Reply via email to