2 Replies Latest reply on Jun 2, 2009 7:02 AM by Raghu Dev

    How to update the changes in main page after closing the rich:modal panel?

    Raghu Dev Newbie
      Hi Everyone !
          I m using rich:modal panel in my application.In the modal panel i m performing an update operation. After the update operation, panel will get close and a message should be displayed. I have placed my message inside a panel grid. The Problem i m facing is that i can't rerender the panel grid...can anyone help me to solve this....Here is the code i m using....
         <a4j:commandButton value="Update" data="#{effortPlanHandler.effortPlanModel.effortPlanAuxVo.showUpdate}"
                                                                      action="#{effortPlanHandler.effortCalculated}" oncomplete="if(data ==  'updated')javascript:Richfaces.hideModalPanel('eftcal')" rerender="uptmsg">

      and the panel grid to be rerender is .....

      <h:panelGrid columns="3" id="uptmsg" rendered="#{effortPlanHandler.effortPlanModel.effortPlanAuxVo.showUpdate == 'updated'}">
                                              <h:outputText  value = "CRID :"/>
        <h:outputText  value="#{effortPlanHandler.effortPlanModel.effortPlanVo.selectedRowCRID}"/>
                                              <h:outputText  value=" was updated successfully."/>                                      

        The noticeable one is , the modal panel will be closed on the "showUpdate" value and it is closing perfectly. But the problem is that the panel grid is not rendered .....