0 Replies Latest reply on May 27, 2010 11:15 AM by ravx

    Old view state is rendered

    ravx

      Hi

       

      I use modalPanel component as container for user form.

       

      I open modal panel and submit form with empty data and get errors for form elements. Then I close modal panel and rerender it.

      I open modal panel once more doing following:

      - invoke action which updates model for user form

      - rerender modal panel

      - show modal panel using javascript.

      The modal panel is shown though with form controls highlighted in red (in error state).

       

      Actually model is updated but view components state is not.

       

      It is desired to somehow clear error state and update view state (related to user form) from model.

      Any thoughts?

       

      Regards

      Ravil