-
1. Re: commandLink target="_blank" stopped to work
michpetrov Jan 14, 2015 4:15 AM (in response to edilmar)I'm assuming you're using h:commandLink, since a4j:commandLink doesn't have the @target in which case this isn't an issue with RichFaces (although you can try removing RichFaces from your project and see if that changes anything). If it worked before with the same browser there was probably some change in implementation.
-
2. Re: commandLink target="_blank" stopped to work
edilmar Jan 14, 2015 1:13 PM (in response to michpetrov)I discovered that if I remove <h:head>, where it doesn't matter if <h:head> is empty or not, the refresh doesn't occur. But without <h:head> Richfaces doesn't render correctly the components. I have no idea of this stranged behaviour of Chrome with my new enviroment.
This is the "head" generated:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="/sitesat2/css/default.css" rel="stylesheet" type="text/css" />
<link href="/sitesat2/css/cssLayout.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="/sitesat2/js/md5.js"></script>
<script language="JavaScript" src="/sitesat2/js/funcoes.js"></script>
<title>SAT - Sistema Online para Transportadoras</title><link type="text/css" rel="stylesheet" href="/sitesat2/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.1.Final/Packed/classic/org.richfaces.css/skinning.css" /><script type="text/javascript" src="/sitesat2/javax.faces.resource/jsf.js.jsf?ln=javax.faces&stage=Development"></script><script type="text/javascript" src="/sitesat2/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.1.Final/Packed/org.richfaces/jquery.js"></script><script type="text/javascript" src="/sitesat2/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.1.Final/Packed/packed/packed.js"></script><link type="text/css" rel="stylesheet" href="/sitesat2/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.1.Final/Packed/classic/packed/packed.css" /><script type="text/javascript" src="/sitesat2/javax.faces.resource/windowhandler.js.jsf?ln=deltaspike"></script></head>
-
3. Re: commandLink target="_blank" stopped to work
edilmar Jan 14, 2015 1:56 PM (in response to edilmar)I think the problem is in DeltaSpike <ds:windowId/>, not JSF or RichFaces.
If I comment <ds:windowId/> all works.
Thanks for your response.