title: Getting input value from jsf page keeps returning null?
body: <p>I have the following bean class </p>
  
  <pre><code>@ManagedBean
  @ViewScoped
  @SuppressWarnings("serial")
  public class AsrTabBean implements Serializable{
  
      public void save() {
          String value = FacesContext.getCurrentInstance().
                  getExternalContext().getRequestParameterMap().get("name");
  
          System.out.println("name is: " + value);
      }
      //Getters and Setters
  }
  </code></pre>
  
  <p>My jsf consist of a page with tabs and each tab I am using an include tag to insert each page with its correspondant form. </p>
  
  <p>However, I am trying to test out getting the input value from the input tag and it keeps returning null </p>
  
  <pre><code>&lt;h:form&gt;
          &lt;p:panel id="panel" header="Asr Form" style="margin-bottom:10px;"&gt;
              &lt;p:messages id="messages" /&gt;
              &lt;h:panelGrid columns="2" cellpadding="5"&gt;
                  &lt;h:outputLabel  value="name" /&gt;
                  &lt;p:inputText id="name" /&gt;
              &lt;/h:panelGrid&gt;
          &lt;/p:panel&gt;
          &lt;p:commandButton value="Submit" action="#{asrTabBean.save}" /&gt;
      &lt;/h:form&gt;
  </code></pre>
  
  <p>result of stdo </p>
  
  <pre><code>name is: null
  </code></pre>