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:20:34 GMT

Joerg Heinicke wrote:
> Really an intersting idea. But I'd not begin the transaction in 
> setup(). What about startDocument()?
>
right :-)
> 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
>
>


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


Mime
View raw message