title: how to update h:inputtext in jsf
body: <p>in Jquery i am sending value to managed bean with success</p>
  
  <pre><code>document.getElementById('formId:inputId').value = "blavla";
  document.getElementById('formId:someId').click();
  </code></pre>
  
  <p>and my jsf code is :</p>
  
  <pre><code> &lt;h:inputText id="inputId" value="#{gestionduplanning.testvalue}" &gt;
   &lt;f:ajax/&gt;
   &lt;/h:inputText&gt;
   &lt;h:inputText id="inputId3" value="#{gestionduplanning.testvalue2}" /&gt; 
  
   &lt;h:commandButton id="someId" value="Button" action="{gestionduplanning.exec2(gestionduplanning.testvalue)}" style="display:none"&gt;
   &lt;f:ajax render="someId" execute="@all"/&gt;  
   &lt;/h:commandButton&gt;
  </code></pre>
  
  <p>and my managed bean methode :</p>
  
  <pre><code>   public void exec2(String x) {
  
      this.testvalue2 = testvalue;   
  
     }
  </code></pre>
  
  <p>the problem is when i give the value of testvalue to testvalue2 i have nothing .</p>
  
  <p>how i can give the value to this value and be showen in the <code>h:inputText</code></p>