3 Replies Latest reply on Jul 16, 2007 11:12 AM by Sergey Smirnov

    General idea of using reRender and sending a form for a newb

    damar thapa Newbie

      I have the following:

      <tr>
      
      <td>
       <a4j:commandButton value="testButton" reRender="activityMain">
      </td>
      <td>
       <a4j:form id="activityMain">
       </a4j:form>
      </td>
      
      </tr>

      Idea is I have a button on the left. When the button is pressed, I have to update the view area (id=activityMain) on the right, with the form content from from form.xhtml. can somebody give me some general idea how I do this?

      Thanks,

      ************** a form.xhtml file *****************
      
      <a4j:form>
       form content....
      
      </a4j:form>
      
      ************end of form.xhtml file***********