[Seaside] mime type

Philippe Marschall philippe.marschall at gmail.com
Thu Jun 26 05:05:33 UTC 2008


2008/6/26 Diogenes Moreira <diogenes.moreira at gmail.com>:
> Hi my folk,
>
> I need set the http header of a component.
>
> in another lenguage i can set liki this
>
> Response.AddHeadder ("content-type", "application/xls")
>
> But im don't how set this property in the commanche response.

You don't mess around with Comanche. You send #contentType:
'application/xls' to your instance of WAResponse.

Cheers
Philippe


More information about the seaside mailing list