cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <lars_hut...@sil.org>
Subject Re: Cocoon 3 - no conditional pipelines?
Date Tue, 12 Jul 2011 21:11:25 GMT
On 7/12/2011 12:09 PM, Steven Dolg wrote:
> Am 12.07.2011 10:39, schrieb Francesco Chicchiriccò:
>> ... I became member of the PMC more than one year afterwards, so I
>> cannot be completely sure. but I can suppose that the documentation
>> is simply outdated since:
>>
>>    1.  there are no issues on JIRA about marking as deprecated or
>>       about removing support for "non-linear" stuff
>>    2. the documentation probably refers to the Pipeline (Java) API
>>
>
> That second point is indeed true.
>
> The Pipeline API itself does not support conditionals, loops or things
> like that.
> A pipeline is constructed, filled with components and then executed.
> That execution will use all the components in the pipeline.
>
> The sitemap on the other constructs pipelines on demand.
> It can and does use conditionals to decide what pipeline to construct
> and which components to add in which order.
>
> If you are used to using a sitemap and intend to stay with that
> approach you should find everything you need.
> You could take a look at the unit tests / samples for the sitemap
> modules to see what is possible and what not.
>
>
> HTH,
> Steven
>

Thanks, that does indeed help.

Lars


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


Mime
View raw message