cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <gary.lar...@envisn.com>
Subject RE: Serialize to file?
Date Fri, 09 Feb 2007 19:14:19 GMT
 
Thanks Geert.  This helps me understand actions a bit more also!

Gary

>       <map:match pattern="download-*-zip">
>         <map:generate src="cocoon:/generate-{1}-zip"/>
> 
>         <map:act type="set-header">
>           <map:parameter name="Content-Type"
> value="application/x-download"/>
>           <map:parameter name="Content-Disposition" 
> value="attachment ; filename={1}.zip"/>
> 
>           <map:serialize type="zip"/>
>         </map:act>
>       </map:match> 


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


Mime
View raw message