Jon Evans wrote:
> How would I have made it work as a Configurable reader? I had this in
> my sitemap:
>
> <map:read type="conceptimage" mime-type="image/gif" src="{1}"/>
> <map:parameter name="defaultFilename"
> value="context://images/default.gif"/>
> </map:read>
I'm not sure what Configurable is supposed to do (I haven't got around
to studying Avalon yet!) but every Cocoon Reader must implement setup()
(see: http://tinyurl.com/ynkwv2 ) and if the 4th argument to setup() is
called pars, you can just do: pars.getParameter("defaultFilename");
Tobia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]