I use h link to navigate another page in new window. But after click link to navigate another page, h :command button not invoked.I have to click second times to invoke command button action.
Here my xhtml file :
...
<rich:column>
<h:link outcome="/demo/myUrl?faces-redirect=true" value="myValue" target="_blank" >
<f:param name="fn" value="myValue" />
</h:link>
</rich:column>
...
<h:commandButton value="x" action="#{myBean.myAction}">
<a4j:param value="parameter1" assignTo="#{myBean.myParameter}" />
<a4j:ajax execute="myTable"
oncomplete="doComplete()" />
</h:commandButton>