Hi,

You should not write the PDF back to the browser in the Ajax response.
Check again the code in AJAXDownload.java in the Wiki.
In in the AJax response it just returns a JavaScript evaluation that
does something like: window.location=theCallbackUrlToPDF
So when the Ajax call finish a new non-Ajax call to the PDF resource
is made to download it. No need of blockUI during the second call.

On Wed, Oct 10, 2012 at 7:21 AM, mlabs <[email protected]> wrote:
> well I switched to an ajax link so that I could add the blockUI decorator....
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/IResourceStream-from-ByteArrayResource-tp4652776p4652816.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to