title: Passing <p:inputText> values to Bean using ajax
body: <p>I am having the <code>h:inputText</code> which having a text and by ajax request how can i send it's values to <code>bean</code> class and the values will be validated in further action begin at bean class ..</p>
  
  <p><strong>view page code is</strong></p>
  
  <pre><code>&lt;h:form&gt;  
  &lt;p:panel id="panel" header="Login Panel" style="margin:0 auto;width:350px;margin-top:15%;"&gt;  
        &lt;p:panelGrid columns="3"  id="pgrid1" styleClass="theme"  &gt;  
            &lt;p:outputLabel  value="User Name:" /&gt;  
            &lt;p:inputText id="name" value="#{loginBean.name}"  required="true" requiredMessage="Name is required"&gt;
                 &lt;f:ajax event="blur" render="label" listener="loginBean.validateName" &gt;&lt;/f:ajax&gt;
                 &lt;!--Here the ajax event working properly but how can i get the inputText value when ajax event  is invoked--&gt;
             &lt;/p:inputText&gt;  
             &lt;p:message for="name"  style="color: red;" /&gt;
      &lt;/p:panelGrid&gt;
      &lt;p:commandButton type="Submit" value="Submit" action="#{loginBean.validate}" update="pgrid1"  /&gt;
  &lt;/p:panel&gt;  
  </code></pre>
  
  <p></p>
  
  <p><strong>My Bean class Code  is :</strong> </p>
  
  <pre><code> public void validateName(AjaxBehaviorEvent e) 
  {
      //Here i need inputText value..how can i handle this task..!!
  }
  </code></pre>