My question is somewhat similar to this one here.
I have a form Parent with a few commandButtons one for each of the several entries on the page/form. When I click on the commandButton C1 for an entry, say, E1, a new form, Child pops up with some fields on it populated thru an AJAX call.
If I cause a validation error on this form Child by, say, submitting the form with some required fields missing, I get the validation error back, which is all good.
Now, when I exit the pop-up, get back on the form Parent and click the commandButton C2 of a different entry E2, the form in the popup, Child, contains the details of that of the E1, despite the ajax call on the click of the commandButton C2 to load the information corresponding to the entry E2. In fact, opening any entry from the Parent after that always displays the details of the entry E1 in the popup's form: Child until I actually refresh/reload the page.
Using the resetValues="true" on the commandButtons doesn't seem to have any impact. Any suggestion?