title: action method is not called in JSF
body: <p>This is my Phase Listener</p>
  
  <pre><code>public class AdminPhaseListener implements PhaseListener {
  
  private static final long serialVersionUID = -1161541721597667238L;
  
      public void afterPhase(PhaseEvent e) {
          System.out.println("after Phase " + e.getPhaseId());
      }
  
      public void beforePhase(PhaseEvent e) {
          System.out.println("before Phase " + e.getPhaseId());
          if(e.getPhaseId()== PhaseId.RESTORE_VIEW)
          {
  
          }
  
      }
  
      public PhaseId getPhaseId() {
          return PhaseId.ANY_PHASE;
      }
  }
  </code></pre>
  
  <p>On click of a Command Button in my page, i call an action method and do some processing but the action method is not called at all, but in the server log , i could see the messages printed by my PhaseListener for all the Phases.  </p>
  
  <p>If my view was not changed, It would have stopped after the RESTORE_VIEW Phase right?  </p>
  
  <p>any thoughts?  </p>
  
  <p>Adding the code for How I display the Command Button :</p>
  
  <pre><code>&lt;table width="100%"&gt;
      &lt;h:column rendered="#{adminBean.displayResultsSize &gt; 0}"&gt;
  
          &lt;tr&gt;
              &lt;td colspan="14" height="5" nowrap="nowrap" class="WhiteRow"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="14" height="1" nowrap="nowrap" align="center"
                  bgcolor="#999999"&gt;&lt;/td&gt;
  
          &lt;/tr&gt;
          &lt;h:inputHidden  id="removeUserId" value="#{adminBean.removeUserId}"/&gt;
          &lt;h:inputHidden  id="removeIBD" value="#{adminBean.removeIBD}"/&gt;
          &lt;h:inputHidden  id="removeAPA" value="#{adminBean.removeAPA}"/&gt;
          &lt;tr&gt;
              &lt;td colspan="14" height="30" nowrap="nowrap"
                  class="FilterColumnGrayHeader" align="center"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
              &lt;input type="button" disabled="disabled" id="button_edit"
                  value="Edit Details" class="disabledfield"
                  onclick="populateEditRow();"&gt;
              &lt;/input&gt; &lt;h:commandButton type="submit" class="disabledfield" immediate="true"
                  id="button_remove" value="Remove" onclick="populateRemoveRow();" action="#{adminBean.remove}"&gt;
              &lt;/h:commandButton&gt; &amp;#160;
  
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr bgcolor="#000000"&gt;
              &lt;td colspan="14" height="1" nowrap="nowrap" align="center"
                  bgcolor="#999999"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td height="10"&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/h:column&gt;
  &lt;/table&gt;
  </code></pre>