I have a form inside a modal panel . I am having some form fields and i am selecting and inserting the data into it .
After i close the modal panel and reopen it again , the previous selecte dvalues are retained .
How to clear the previous values selected in the modal panel when we open it fo rthe second time
You should clear data in the bean and reRender modelPanel content. It can be done when you are hiding your panel or before you are opening it.