Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 Jul 2014 05:38:14 -0300, Net Dawg wrote: How about question #2? Resetting the streaming behavior? After streaming once, the page is stuck in streaming mode, does not do any HTML anymore. Again, in HTTP, one request, one response. Just make sure in your code you're always r

Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Net Dawg
Thanks, Lance.  So problem #1 is probably best solved by rendering a whole new page, just have to pass/share/persist the request parameters.  How about question #2?  Resetting the streaming behavior?  After streaming once, the page is stuck in streaming mode, does not do any HTML anymore. 

Re: Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Lance Java
What you're asking for is not possible with the http protocol. You can only have one response per request. You could achieve the behaviour you want by returning an html page response from the event. When the page loads, it uses window.open(...) to send a second request for the pdf in another windo

Turn Off or switch from Streaming to regular HTML

2014-07-29 Thread Net Dawg
Hi I followed the instruction per below: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF However, 1) I would like HTML version to be rendering (in parallel with streaming) 2) subsequent reloads should render HTML, not stream unless requested. Basically, how would the s