[Seaside] Re: Distributing other than HTML content
Bany, Michel
mbany at cincom.com
Tue Nov 9 09:40:08 CET 2004
> Sam> I need to distribute dynamically generated binary content
> Sam> (presented as a MIME document) directly from Seaside, without
> Sam> going through an HTML page first and through a link.
>
> I've done it but it's not very clean:
>
> renderContentOn: html
> self feed refreshFeed.
> self session returnResponse:
> (WAResponse new
> contentType: 'text/xml';
> nextPutAll: self feed asXML;
> yourself)
>
> Is there a better place to do this?
We are serving wsdl files using WATask subclasses
with a logic similar to yours in the #go method.
That works fine provided that the web service client
deals properly with Seaside HTTP redirections.
Michel.
>
> Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20041109/b664f538/attachment.htm
More information about the Seaside
mailing list