[Seaside] flow

Milan Mimica milan.mimica at gmail.com
Tue Jun 14 18:34:14 UTC 2011


Hello!

I'm having trouble with page flow. At one point I need a component to 
issue a download of file and #answer back to the caller.
I'm issuing a download using:

self requestContext respond: [ :response |
    response
        contentType: 'application/pdf';
        document: (StandardFileStream readOnlyFileFullyNamed: fileName );
        attachmentWithFileName: fileName
  ].

After that, "self answer" doesn't seem to work. What can I do about it?


-- 
Milan Mimica
http://sparklet.sf.net



More information about the seaside mailing list