title: submit button does not submit but only triggers InputText's onChange event
body: <p>I am automatically selecting a value for radio button when the user types something in an input text using ajax.
  The problem is: when the user types something in the input text and directly submits the form by clicking <code>Get</code>, the form does not submit but only the ajax is called because of the change event and the radio is updated.</p>
  
  <p>A second click on the <code>Get</code> button, submits the form.</p>
  
  <p>I also do not want to use <code>keyup</code> since it migth disturb the user while typing.</p>
  
  <p>I use primefaces 5.1</p>
  
  <p>here is my code:</p>
  
  <pre><code>&lt;h:form id="myForm"&gt;
      &lt;p:selectOneRadio
          value="#{myBean.include}" id="IncludeRadio"&gt;
          &lt;f:selectItem itemValue="Include" itemLabel="Include" /&gt;
          &lt;f:selectItem itemValue="Exclude" itemLabel="Exclude" /&gt;
          &lt;p:ajax process="@this" update="@form" /&gt;
      &lt;/p:selectOneRadio&gt;
      &lt;p:radioButton id="IncludeRadio0" for="IncludeRadio" itemIndex="0"/&gt;
      &lt;p:radioButton id="IncludeRadio1" for="IncludeRadio" itemIndex="1"/&gt;
  
      &lt;p:inputText
          value="#{myBean.fieldValue}"
          id="FieldValueInputText"&gt;
          &lt;p:ajax process="@this" update="@form" /&gt;
      &lt;/p:inputText&gt; 
  
      &lt;p:commandButton id="GetButton"
                  action="#{myBean.execute}"
                  value="Get"&gt;
      &lt;/p:commandButton&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>and the bean:</p>
  
  <pre><code>@ManagedBean
  @SessionScoped
  public class MyBean {
      public void setFieldValue(final String fieldValue) {
          if (fieldValue != null &amp;&amp; !fieldValue.trim().isEmpty()) {
              if (!"Include".equals(getInclude())
                      &amp;&amp; !"Exclude".equals(getInclude())) {
                  setInclude("include");
              }
          } else {
              setInclude("");
          }
      }
  
      public void setInclude(String include) {
          this.include = include;
      }
  
      public String getInclude() {
          return this.include;
      }
  
      public void execute() {
          // do something
      }
  }
  </code></pre>