title: Invocation of JSF 2.0 binding methods during a specific phase of the lifecycle
body: <p>I have the following situation:</p>
  
  <pre><code>    form1.xhtml:
      &lt;h:commandButton action="#{bean1.action1}" /&gt; &lt;!-- action1 returns "form2" --&gt;
      form2.xhtml:
      &lt;h:form binding="#{bean2.init}"&gt;
      ...
      &lt;h:commandButton action="#{bean2.action2}" /&gt; &lt;!-- *** --&gt;
      &lt;/h:form&gt;
  
      Bean2.java:
      @Named
      Bean2{
      public Object getInit(){
          return null;
      }
  
      public void setInit (Object i){
          //do something
      }
  </code></pre>
  
  <p>When <em>form1</em> is submitted, the binding method setInit() is executed during phase 6 RENDER_RESPONSE (after action1() returned "form2") and form2 is shown.</p>
  
  <p>When <em>form2</em> is submitted, setInit() is executed during phase 1 RESTORE_VIEW if action2() returns "null". But if action2() returns "form2" instead of null, the method gets invoked <strong>also</strong> during phase 6.</p>
  
  <p>Do you know why? Is it possible to have the binding method invoked also if the action returns null?</p>
  
  <p>Thanks a lot!</p>