[Seaside] MIME documents
Lukas Renggli
renggli at gmail.com
Tue Feb 27 06:22:32 UTC 2007
> My problem is that the MIME document is created at render time, but
> the data I want sent is dependent upon the fields on the form. Anyone
> know of a convenient way to make the document be created after the
> link is clicked?
Yes, this is a common problem. One solution is to create an anchor and redirect:
html anchor
callback: [ self session returnResponse: (WAResponse document:
anObject mimeType: mimeString fileName: fileString) ];
with: 'Export'
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list