Re: Page Method for Stream Response to Pagelink

2014-07-07 Thread Geoff Callender
I'm glad you found that example. Here's a different one that solves it with PageLink. The page it links to is PersonFind, which returns a StreamResponse: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ws/webservices Cheers, Geoff On 7 Jul 2014, at 2:54 pm, Net Dawg wro

Re: Page Method for Stream Response to Pagelink

2014-07-07 Thread Thiago H de Paula Figueiredo
On Mon, 07 Jul 2014 01:10:06 -0300, Net Dawg wrote: I already tried onAction, onPassivate, etc as per these references: It's onActivate(): Object onActivate(...) { ... return streamResponse; } http://tapestry.apache.org/page-navigation.html#PageNavigation-Pageactivation (

Re: Page Method for Stream Response to Pagelink

2014-07-06 Thread Net Dawg
Solved: basically, replaced pagelink by eventlink using StreamResponse Return Type per below http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntypes1 On Sunday, July 6, 2014 6:13 PM, Net Dawg wrote: I am trying to stream PDF in response to a pagelink, NOT submit

Page Method for Stream Response to Pagelink

2014-07-06 Thread Net Dawg
I am trying to stream PDF in response to a pagelink, NOT submit button as in: http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile In the above wiki, the method used is "onSubmit"...what would be the corresponding method for pagelink.  // what method should be used instead