title: a4j:commandButton oncomplete javascript ignored
body: <p>I have this snippet:</p>
  
  <blockquote>
  <pre><code>  &lt;h:form&gt;
          &lt;h:panelGrid columns="2" styleClass="modalYesNo"&gt;
              &lt;a4j:region id="confirmActionReloadYes"&gt;
                  &lt;a4j:commandButton value="Yes" ajaxSingle="true"
                      action="#{MyBacking.reloadConfig}"
                      oncomplete="window.location.reload()"
                      reRender="blah" /&gt;
              &lt;/a4j:region&gt;
              &lt;a4j:commandButton value="No"
                  onclick="#{rich:component('confirmActionReload')}.hide();return false;" /&gt;
          &lt;/h:panelGrid&gt;
      &lt;/h:form&gt;
  </code></pre>
  </blockquote>
  
  <p>and I notice that when the yes button in the a4j:region above is selected, once the backing bean method <code>reloadCongi()</code> is complete, the javascript <code>window.location.reload()</code> is not run.  Why is this?  I also notice that elements in the reRender attribute are also not reRendered.  Why is this?</p>
  
  <p><em>EDIT</em>
  The method from the first comment to this question is:</p>
  
  <pre><code>public void reloadConfig() {
      logger.info("Reloading config.");
      pct = pctBackup;
      feeds = pct.getFeed();
      setSysMsg("Reloaded config OK.", "ok");
  }
  </code></pre>
  
  <p>I'm thinking maybe I need to set the return type to true or false based on the above and see if that works.</p>