cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Boisvert" <eboisv...@oricom.ca>
Subject RE: Pass a parameter from generator/transformer to the sitemap
Date Sat, 27 Aug 2005 21:47:16 GMT
it's probably a dumb question but... why don't you include this parameter
directly in the xml generated by the generator ?

maybe you have a good reason or some sort of limitation .. just a though.

Cheers
Eric Boisvert

> -----Message d'origine-----
> De : Nick Goupinets [mailto:ngoupinets@openskysolutions.ca]
> Envoyé : 27 août, 2005 16:50
> À : users@cocoon.apache.org
> Objet : Pass a parameter from generator/transformer to the sitemap
>
>
> Hi everybody,
>
> I am trying to find out how to pass a parameter from generator /
> transformer code to the sitemap. Ultimately, I would want something like
>
> this:
>
> <map:generate type="my-generator"/>
> <map:transform type="some.xsl">
>    <map:parameter name="param" value="{param-created-by-my-generator}"/>
> </map:transform>
> <map:serialize/>
>
> That's pretty easy with actions (just get a HashMap returned), but how
> can this be achieved with generators/transformers? I guess there are
> always hacks with request/session attributes, but there must be a more
> elegant way.
>
> Thank you very much for your help.
>
> Best regards,
> Nick Goupinets.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>



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


Mime
View raw message