[Seaside-dev] export document

Lukas Renggli renggli at gmail.com
Fri May 22 19:35:53 UTC 2009


No you don't need the responseGenerator, the request context knows the
current response. The response generator gets it from the request
context too.

The same question was recently answered in the seaside list, see
"[Seaside] returning a response in seaside 2.9"
(http://lists.squeakfoundation.org/pipermail/seaside/2009-May/020720.html).

Cheers,
Lukas

On Fri, May 22, 2009 at 7:46 PM, Julian Fitzell <jfitzell at gmail.com> wrote:
> you shouldn't need #responseGenerator in there, I don't think...
>
> On Fri, May 22, 2009 at 9:22 AM, Sebastian Sastre <ssastre at seaswork.com> wrote:
>> this one is working in 2.9a3:
>>
>>        self requestContext responseGenerator response
>>                document: contents
>>                mimeType: 'application/csv'
>>                fileName: (model name, '.csv');
>>                respond
>>
>> cheers
>> sebastian
>>
>>> -----Mensaje original-----
>>> De: seaside-dev-bounces at lists.squeakfoundation.org
>>> [mailto:seaside-dev-bounces at lists.squeakfoundation.org] En
>>> nombre de Sebastian Sastre
>>> Enviado el: Friday, May 22, 2009 12:28
>>> Para: 'Seaside - developer list'
>>> Asunto: [Seaside-dev] export document
>>>
>>> >     self session returnResponse: (WAResponse
>>> >             document: contents
>>> >             mimeType: 'application/pdf'
>>> >             fileName: pdfFile).
>>> >
>>>
>>> this can't be done in 2.9a3
>>> I'm investigating how to do the same in 2.9a3
>>>
>>> sebastian
>>>
>>> _______________________________________________
>>> seaside-dev mailing list
>>> seaside-dev at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list