I have a web page (made with JSF) where some links allow the user to get a PDF file.
When the user clicks on such a link, a waiting popup (it is a modal panel) is di
No such event exists. You need to take a different approach to solve this.
target="myhiddeniframe"
)onload
attribute of the iframe to a callback that hides your spinnerNet effect: you "spin" while the pdf is generated, and "unspin" when the "File download" dialog appears (as opposed to when the "File download" dialog is closed).