When I try to open the https URL in jsf using window.open, I could not open it. How can this be done?
Code:
<h:commandLink id="downloadLink2" target="_blank" tabindex="3"
onclick="clickLink();" ajax="false"
style="border:0px;text-decoration: none;" title="#{doc2.name}">
<h:outputText value="#{doc2.path}" title="#{doc2.path}" />
</h:commandLink>
<script>
/* <![CDATA[ */
function clickLink(){
alert('test');
window.open('https://sso.csx.com/idc/idcplgIdcService=
GET_FILE&dID=2502493&dDocName=P2484813');
}/* ]]> */
</script>