cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <>
Subject [Help] Downloading file into local Disk
Date Thu, 11 Sep 2003 16:05:24 GMT

I'd like my browser web not to display the xml document but to open a 
download popup.

I hae created a serializer with a mime-type set to binary/octet-stream, but 
when I try :
<map:match pattern="save.xml">
   <map:generate type="file" src="toto.xml"/>
   <map:serializer type="save"/>

the browser display the document.

Else if I try to write <map:match pattern="save.t"> instead, the download 
popup comes up!!!

Any idea ?


Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : Fax :

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message