I have an af:exportCollectionActionListener in a commandlink in my page.
shortDesc="Export to Excel" id="cl2"
This works fine in firefox and chrome browsers. But in IE browser when i click on the commandlink it shows a pop-up blocker. Even if i choose download file in the blocker it does nothing. After closing the blocker or choosing download file option, if i try again clicking on the Export link it works. Is it possible to overcome this problem ?
Even though the popup blocker is already in off it behaves in the same way. I also tried adding my url in "Allowed Sites" under popup blocker settings. That also dint work.
Actually when i test the application in local machine i am able to download the file atleast when i try for the second time. But when the application is accessed from a different client machine ,I could not download the file at all.
Does it show a popup blocker, or does it show a "the site is attempting to download a file to your computer?"
This is all to do with IE's security settings; if it's the latter (not a popup blocker), then add the site to the trusted sites list and allow trusted sites to download files without prompting (note: it's been so long since I used IE that the terminology might be different)
You are right. It is not a popup blocker instead it is the second scenario that you have said ("internet explorer blocked this site from downloading files to your computer") . I just tried allowing the site in the security setting and also tried custom level settings like enabling file download, enable activeX download..etc. It dint serve any purpose.