Thanks a lot! I'll give it a try.
-Tuomo
On Fri, 16 Apr 2004, Marco Rolappe wrote:
> hi tuomo,
>
> implement avalon's Configurable interface. you'll then be provided with a
> Configuration object.
>
> in your example you'd get some-parameter's value like this:
>
> ...
> someParam = config.getChild("some-parameter").getValue();
> ...
>
>
> > -----Ursprungliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Tuomo L
> > Gesendet: Freitag, 16. April 2004 11:49
> > An: [EMAIL PROTECTED]
> > Betreff: Custom generators and configuration parameters
> >
> >
> > Hi all,
> >
> > Is it possible to provide configuration parameters in sitemap for
> > generators? Like this:
> >
> > <map:generator name="my-generator src="MyGenerator">
> > <some-parameter>foobar</some-parameter>
> > </map:generator>
> >
> > This is possible for at least transformers and actions.
> >
> > If so, how do I read those parameters in the code?
> >
> > -Tuomo
> >
>
>