How to show busy icon or popup on af:fileDownlaodListener
Hi Gurus,
We have a use case to download PDF report on click of a button on JSFF page.
We are calling 11g BI Publisher web services to generate the report at run time and it is taking time. less than 10 sec's.
While downloading the file, we would like to display a busy icon/popup to users so that we can prevent further input from them and the popup should auto close once download finishes and browser display the download window.
I have tried multiple options using JavaScript to display a popup by following http://myadfnotebook.blogspot.com/2011_09_01_archive.html with no luck. The AdfBusyStateEvent is gettign completed very quickly even before the af:fileDownloadListener completes the download.
Is there any best approach to show custom message/popup/busy icon while af:downloadlistener is under process? (OR) Is there a way that I can write custom JAVA code to handle file download(not using af:fileDownloadListener?) that way handling busy icon/popup display would be easy as I have control in managed bean.
Pls Suggest.
Thanks for your help!!