title: Problem With JSF 1.1 and PopUp
body: <p>I am trying to popup a window when someone clicks a button on the data table. </p>
  
  <pre><code>                                    &lt;h:commandButton
                                          action="#{cacheController.popupDetails}"
                                          immediate="false"
                                          onclick="popup()"
                                          value="View Details"
                                           styleClass="submit"&gt;
                                      &lt;/h:commandButton&gt;
  </code></pre>
  
  <p>The associated popup function is </p>
  
  <pre><code>function popup() {
  window.open('RDDetails.jsf','popupWindow', 'dependent=yes, menubar=no, toolbar=no, height=500, width=400');
  }
  </code></pre>
  
  <p>Now in the new 'RDDetails.jsf" file, I am trying to access the same managedBean cacheController. But the problem is, the pop-up window and JSF lifecycle is not in sync. As a result, the popup first displays blank and when I refresh, it pulls out the proper data. </p>
  
  <p>Is there anyway I can click on a button which will do some processing in the managed bean and then opens a pop up which rerieves the processed data from the managed bean. </p>
  
  <p>I am using JSF 1.1.</p>