1 Reply Latest reply on Aug 22, 2013 7:26 PM by Brian Leathem

    <a4j:commandlink with target="_bank" is not navigating to new page

    Newbie

      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.