hmm.. no .. sounds too complicated ... I don't want to get into spawning
threads and polling ..
In jQuery you can use $.ajax({url:'my-pdf
resource-url',async:false,success...,error...}) and wire blockUI into the
success/error handlers.. that worked great except the save-as dialog didn't
come up - even though in my PDFSharedResource I was setting
content-disposition to attachment...
It seems to me that this 'synchronous' flag should be exposed in the wicket
javascript somehow...
But I haven't found it yet... only just started digging into this code...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ajax-file-download-tp4652911p4652915.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]