cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: passing parameters to readers
Date Mon, 17 Jun 2002 00:03:19 GMT
> From: Ricardo Trindade [mailto:Ricardo.Trindade@myrealbox.com]
> 
> Hi,
> 
> 	I have a custom reader, and I need to pass it parameters.
> 	However, I'm getting the impression that it's impossible to pass
> parameters
> to readers. Is it so ?

See AbstractReader.java: it has setup() as other sitemap components
(SitemapModelComponent) and it has 

    /** The current <code>Parameters</code>. */
    protected Parameters parameters;

This should contain parameters passed from the sitemap.

Vadim


> thanks
> Ricardo


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message