> 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
_______________________________________________
Seaside mailing list
Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/listinfo/seaside
|