title: Update one form content from another form in jsf
body: <p>I need to update one form content from another form in jsf.If i give another form id ,it will show an error like component id not found.</p>
  
  <p>My Coding is</p>
  
  <pre><code>&lt;h:form id="form1" name="form1"&gt;
   &lt;h:commandLink value="Tab1" id="Tab1"&gt;
    &lt;f:ajax listener="#{managedBean.tabChange}" event="click" render="form2"&gt;&lt;/f:ajax&gt;
   &lt;/h:commandLink&gt;&lt;/li&gt;
  &lt;/h:form&gt;
  &lt;h:form id="form2" name="form2"&gt;
     &lt;h:outputText value="#{managedBean.text}" id="text"/&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>in render attribute </p>
  
  <p>@all work for me.
  but form2/text won't work . </p>
  
  <p>Please Help me.</p>
  
  <p>Thanks in advance.</p>