cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Free for use: SaveFilesTransformer
Date Wed, 20 Sep 2006 20:30:37 GMT
Really an intersting idea. But I'd not begin the transaction in setup(). 
What about startDocument()?

Jörg

On 20.09.2006 18:53, Olivier wrote:
> <map:resource name="write">
>      <map:transform src="blog/{blogfile}" type="orcades-file-writer">
>       <map:parameter name="dest-dir" value="{orcades:data-path}/"/>
>  </map:transform>
> 
> The transaction
> * begins on setUp
> * commit on endDocument
> * roll back on recycle (if needed!)
> 
> 
> Geert Josten wrote:
>> How does it work?
>>
>> Kind regards,
>> Geert
>>  
>>> -----Oorspronkelijk bericht-----
>>> Van: Olivier [mailto:olivier@orcades.net] Verzonden: woensdag 20 
>>> september 2006 10:07
>>> Aan: users@cocoon.apache.org
>>> Onderwerp: Re: Free for use: SaveFilesTransformer
>>>
>>> Hi all,
>>>  I've build a transactionnal write transformer on top of :
>>> http://jakarta.apache.org/commons/transaction/
>>> Works fine in production.

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


Mime
View raw message