12 Replies Latest reply on Apr 5, 2010 9:37 AM by David Runyon

    How to refresh the data in Modal Panel?


      Hi, i need help!

      My problem make me crazy. I have a main page with h:outputText fields for output the user data like firstname. I want to edit this data by opened modal panel with h:inputText and after that save or cancel it. So I have a request-bean for doing input. If i have puted in anything and clicked cancel button the data keep alive after reopening the modal panel.
      How can I refresh the data ? I tried to delete my request-bean, but not successfully.
      I use <a4j:include viewId="modal-panel.jsp" /> to include the modal panel in the main page.

      Have you an idea?

      Thanks !!!