title: How to update p:inputText from backing bean?
body: <p>I want to update <code>&lt;p:inputText&gt;</code> from backing bean after business logic is finished. 
  I have two properties in backing bean <code>prop1</code> and <code>prop2</code>, and corresponding UI component as <code>&lt;p:inputText&gt;</code>. But when i update both ui component, they are not updated with the latest value from business logic. I tried to update using p:ajax and also with <code>RequestContext</code> but both are not working.</p>
  
  <pre><code>&lt;p:inputText id="htmlDivs"
               style="display:inline"
               ajax="true"
               value="#{backingbean.deviceHtml}"/&gt;
  
  &lt;p:inputText id="paths"
               style="display:inline"
               ajax="true"
               value="#{backingbean.connections}"/&gt;
  </code></pre>
  
  <p>And</p>
  
  <pre><code>RequestContext.getCurrentInstance().update(Arrays.asList("myform:htmlDivs",
                                                    "myform:paths",
                                                    "myform:devicePortTable"));
  </code></pre>
  
  <p>Strange thing is <code>devicePortTableis</code> updated. Any suggestion?</p>
  
  <p>Thanks
  Brijesh</p>