cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <>
Subject Re: pipeline component
Date Thu, 08 Mar 2012 13:52:43 GMT
Thanks Robby & Francesco!

That been said, the use case is a bit special.
In my case the sitemap would have gone involved.
I did not split it up and here's what I did:

public class mycomponent implements Starter, Finisher

ZipOutputStream zip_out = new ZipOutputStream(outputStream);
     compose and add requested entries

and just added setOutputStream() and getContentType()

The question is often where you want to put the complexity.
Granted, defeats a bit the purpose of a pipeline, but it works ;-)


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

View raw message