2 Replies Latest reply on May 27, 2009 7:14 AM by Raghu Dev

    how to reflect the action of command button in rich:modalpanel

    Raghu Dev Newbie
      Hi Everyone,
          I m creating a page with rich:modalPanel.It contains command buttons such as Add, Delete, Update and Cancel.
      <rich:modalPanel id="eftcal" autosized="false" keepVisualState="false" width="600" height="230">
      .....
      <a4j:commandButton value="Add Row"  action="#{effortPlanHandler.addRow}" reRender="eftcal"/>
      <a4j:commandButton value="Delete Row" action="#{effortPlanHandler.deleteRow}" Render="eftcal"/>
      <a4j:commandButton value="Update"  action="#{effortPlanHandler.effortCalculated}" reRender="caleft"/>
      .......

      when the "Add Row" button is clicked, it needs to add a row.It adds in the server side. The problem is that the modal panel gets closed when i click any of the buttons and i can't able to see the newly added row.
        Can anyone help me, how to prevent the modal panel from closing..