Parent Page becomes ‘frozen’ in Safari after commandLink with target=“_blank” is pressed in JSF 1.2

Posted by Pushkar on Stack Overflow See other posts from Stack Overflow or by Pushkar
Published on 2010-04-09T06:51:18Z Indexed on 2010/04/09 6:53 UTC
Read the original article Hit count: 228

Filed under:
|

On my webpage when i press command link its opening a new page perfectly on IE7/Firefox 3/Chrome/Safari 4.0.4 but after this none of the parent page's command buttons are not working ,this happens only in safari.I am using JSF 1.2 mojara.

Following is the my command link code:

<h:commandLink onclick="submitPrint('selectedAttributes',criteriaGrid,clauseGrid)" action="#{reportBacking.print}" target="_blank"></h:commandLink>

I have seen several fourms regarding this problem but they are suggesting the use of new mojara version which solves the some famous javascript problem document.forms Vs document.getElementByID().but my final javascript is fine (its using document.getElementById thing).

© Stack Overflow or respective owner

Related posts about jsf

Related posts about safari