Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to show busy icon or popup on af:fileDownlaodListener

Subba Rao BhamidipatiAug 17 2012 — edited Aug 19 2012
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!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2012
Added on Aug 17 2012
3 comments
1,547 views