cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seifert" <>
Subject How to define custom parameter for map:serialize?
Date Fri, 08 Mar 2002 07:35:50 GMT

We have written a custom serializer and want to specify a custom
parameter in the sitemap pipeline, not in serializer definition.

This works

    <map:serializer name="serializerxyz" mime-type="..." logger="..."
	<parameter name="param1" value="xyz"/>

but the parameter is fixed for the whole sitemap.

But we want to define the parameter in the pipeline like:

    <map:match pattern="...">
      <map:serialize type="serializerxyz">
        <parameter name="param1" value="xyz"/>

How ist this possible? We found no fitting interface to accomplish this
(SitemapOutputComponent does not define a "setup"-Method like

Any ideas? Is it not possible to define parameters for serializers?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message