Hello,

I want to download the pdf issue from the fo transformation on the local disk. 
I've put the cocoon.xconf property "enabled-upload" at OK and 
"upload-directory" is fixed, but the pdf file are not stocked on this 
directory. I give you my sitemap conf:
<map:pipeline>
                <map:match pattern="*.pdf">
                        <map:generate src="{1}.xml"/>
                        <map:transform src="principal.xsl"/>
                        <map:serialize type="fo2pdf"/>
                </map:match>
</map:pipeline> 

I've seen on forum, we can use the <map:act> property, I've tried:
<map:act type="request">
        <map:parameter name="Cache-Control" value="Pragma:no-cache"/>
        <map:parameter name="Content-Disposition" value="attachment ; 
filename={1}.xml"/>
</map:act>
but it doesn't work.

Thank you for help.

SÃbastien Barathieu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to