cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier <oliv...@orcades.net>
Subject Re: Free for use: SaveFilesTransformer
Date Thu, 21 Sep 2006 17:29:33 GMT
Geert Josten wrote:
>> Really an intersting idea. But I'd not begin the transaction 
>> in setup(). 
>> What about startDocument()?
>>     
>
> And the rollback() at endDocument() as well (if necessary :). Though I
> guess I would like to manage the transactions independantly altogether.
> In actions fired with separate urls perhaps?
>
> ;-)
>    
>   
Hum ...
In fact the transaction id is the file url.
IMHO endDocument is not called if an exeption occure in pipeline.

See the transformer in attachment.

Comment are very welcome ...


Mime
View raw message