cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: IncludeTransformer
Date Thu, 17 Jan 2008 10:02:45 GMT

>> Second approach : use transformer given by franco
>> (http://www.mail-archive.com/users@cocoon.apache.org/msg39623.html), but
>> it seems to not be compatible with C2.2.
>>
>> public class HTTPPostTransformer
>>        extends AbstractTransformer
>>        implements Recyclable, Composable { ...
>>
>>
>> this transformer, written for C2.1, is based on AbstractTransformer.
>> it has compose method which set the manager.
>> Does it still work in C2.2 ?
>>     
>
> I think it should work as long as you replace Composable with Serviceable interface and
compose()
> with service() method. However, if you write your own components from scratch I would
suggest to
> write them as Spring beans instead of Avalon components.
>
>   
implements Serviceable make it works...
I am not used with Spring beans... any cocoon links to how make a cocoon 
transformer based on spring beans ?
thanks again Grzegorz!


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


Mime
View raw message