Hi All,
I have the below code, it calls the backing bean method but it should navigate to new page but it is navigating to same page.
Please find my code snippet.
<a4j:commandLink
action="#{actionBean.openPage}"
target="_blank"
immediate="true"
ajaxSingle="true">
<h:graphicImage value="/static/images/popup.gif" />
</a4j:commandLink>
"openPage" navigation is configured in faces-config.xml.
Thanks in advance, i will wait for your response.
This likely isn't working because the a4j:commanLink is doing an AJAX post. You'll need to file feature request asking for an option to tell the commandLink to do a full page submit (like the h:commandLink does).