[Seaside] mime type

Diogenes Moreira diogenes.moreira at gmail.com
Thu Jun 26 11:56:27 UTC 2008


yes, but how obtein my WAReponse Instance,

sorry i'm newby.

Thanks...

On Thu, Jun 26, 2008 at 2:05 AM, Philippe Marschall <
philippe.marschall at gmail.com> wrote:

> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080626/b3e2d02b/attachment.htm


More information about the seaside mailing list