title: Open new window from managed bean
body: <p>I use this code for open a popup in JavaScript:</p>
  
  <pre><code>function showMyPage() { 
   window.open('./showMyPage.xhtml','mywindow', 'resizable=no,toolbar=no,scrollbars=yes,height=450,width=530,top=145,left=235');
   return true;
  </code></pre>
  
  <p>}</p>
  
  <p>But, I want to do it from a Managed Bean, is it possible ?</p>
  
  <p>Example, I have the following condition, from a p:dataTable:</p>
  
  <pre><code>&lt;p:column &gt;
                               &lt;h:commandLink action="#{tableBean.list(ind)}" &gt;  
                                  &lt;i class="cus-find"&gt;&lt;/i&gt; 
                              &lt;/h:commandLink&gt;  
                          &lt;/p:column&gt;
  </code></pre>
  
  <p>I want to call a Managed Bean and open a popup through it, is it possible ?</p>
  
  <pre><code>public String list(InfoListVO ind){
          FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("InfoListVO ", ind);
  
  //here I want to return my page in a popud directly from a Managed Bean
      return "myPage";
  }
  </code></pre>
  
  <p>Thanks in advance !</p>