5 Replies Latest reply on Nov 24, 2007 1:46 PM by pmuir

    Restting a form inside a modalPanel

    waynebagguley

      I've got a form in a rich:modalPanel that appears when a user clicks the 'New' button. However, if the user clicks cancel on the form so that the modal panel closes, when the 'New' button is next clicked (without navigating away from the page) the old form is shown, complete with any validation errors from before. I've tried getting the 'cancel' link to invoke an action method that clears the data and also tried using reRender but nothing seems to work. Anyone got any ideas?