Christian Haul wrote: > > On 09.Jan.2003 -- 09:28 AM, Carsten Ziegeler wrote: > > Now, let's come to the missing part, chaining! > > > > I think we have currently two approaches: > > a) Chaining is done by special objects, so you have something like > > this (let's not discuss the "first"/"second" syntax): > > > > <map:objects> > > <map:object name="request-param" ..../> > > <map:object name="session-attr" ..../> > > <map:object name="my_chain ....> > > <first>request-param</first> > > <second>session-attr</second> > > ... > > </map:object> > > </map:objects> > > And I can simply use {request-param:myname} and {my_chain:skin} > > This is how it works today. Only that it is in cocoon.xconf. > Yes.
> > b) Chainers (?) are special components: > > > > <map:objects> > > <map:object name="request-param" ..../> > > <map:object name="session-attr" ..../> > > </map:objects> > > <map:object-chainers> > > <map:object-chainer name="my_chain ....> > > <first>request-param</first> > > <second>session-attr</second> > > ... > > </map:object> > > </map:object-chainers> > > > > And I can simply use {request-param:myname} and {my_chain:skin} > > > > Personally I would opt for a) because b) adds another component type > > to the sitemap that is not really needed and it might be confusing > > that {request-param:myname} is handled by an object component and > > {my_chain:skin} by an object-chainer. > > Right. AFAIK b) has never been proposed. > It has! > BTW the real differences have been for the case where this 'pipeline' > in a) spans several stages. > Can you expand on this a little bit? Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]