probably your best bet would be to stream the ajax response and then as part of the ajax response, have a hidden link that is called after the ajax response is sent, and /that/ triggers the excel file generation. You can't have two different responses to the same request... but you can chain a series of requests and responses together to achieve a similar effect. :)
Robert On Dec 23, 2010, at 12/235:44 PM , iberck wrote: > > Thank you for the reponse Thiago > So can't I generate a stream file and then use ajax request in the same > page? > > Thanks in advance > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Problem-with-StreamResponse-and-Ajax-tp3316957p3317114.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org