On Fri, 02 Sep 2011 17:28:30 -0300, hese <1024h...@gmail.com> wrote:

I worked around the problem like this: storing the name of the return file in a property (FLASH, so it stays just for a single refresh), and returning the contents of the file in onActivate, so when the page reloads the file
will be streamed back.  But this seems ugly :(  Still looking for a
solution....

It wouldn't be ugly if you had a separate page just for streaming CSV files. ;) That's the approach I use most of the time when using StreamResponse.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to