title: ADF af:showPrintablePageBehavior sends all subsequent navigation commands to a new window
body: <p>I have a print icon that renders the printable version of the form.</p>
  
  <pre><code>&lt;af:link id="printButton" icon="/images/printer.png"&gt;
     &lt;af:showPrintablePageBehavior/&gt;
  &lt;/af:link&gt;
  </code></pre>
  
  <p>This part works properly, but after you close the tab created by the <code>&lt;af:showPrintablePageBehavior/&gt;</code> any attempts to redirect to a new page creates a new browser tab.</p>
  
  <p>The button doing the redirect is defined thusly,</p>
  
  <pre><code>&lt;af:button text="Search" action="#{backing.searchAction}" 
             partialSubmit="false" immediate="true" id="ab1" /&gt;
  
  public String searchAction() {
      return "search" 
  }
  </code></pre>
  
  <p><code>"search"</code> is a navigation-rule, which is defined in the <code>faces-config.xml</code> and works properly if you do not invoke <code>&lt;af:showPrintablePageBehavior/&gt;</code> before clicking the button. </p>
  
  <p>I have tried using <code>ExternalContext.redirect(page)</code>. I have also tried defining the <code>targetFrame</code> attribute to <code>_self</code> and <code>_parent</code> for the <code>&lt;af:button&gt;</code>. The miss-behavior is consistent with each of these approaches.</p>