Click the button to launch the "window.open..." javascript to start the download:

Click the link to launch the "window.open..." javascript via the backing bean (JavascriptContext call): click here!