This content has been marked as final.
Show 4 replies
-
1. Re: HTMLCommandLink
nbelaevski Oct 28, 2009 6:21 AM (in response to mattc1)Hi Matt,
Can you please clarify your requirements more? Browser can show download file dialog - when should this JS code be executed then? -
2. Re: HTMLCommandLink
mattc1 Oct 28, 2009 9:33 AM (in response to mattc1)I would like to show a "Generating PDF..." message when the use clicks the link. It could take 5-10 seconds to generate the PDF. I can add an onclick to show the message but I don't know when the ajax call finishes so I can't hide the message.
-
3. Re: HTMLCommandLink
ilya_shaikovsky Oct 28, 2009 9:45 AM (in response to mattc1)a4j:htmlCommandLink is not using ajax requests. So it has no oncomplete. Try to register document "ready" callback using jQuerry for example.
-
4. Re: HTMLCommandLink
mattc1 Oct 28, 2009 10:04 AM (in response to mattc1)Ok, thanks for the help.