On Mar 3, 2013, at 2:00 PM, Johnny Miller wrote:
Hi,
So I'm trying to create a component like the master detail page in the "Custom and embedded d2w components" presentation.
My list page component subclasses ERD2WListPage and my inspect page subclasses ERD2WInspectPage.
So, I can select an object from the list and the inspect page pulls up the object and I can edit it.
But one nagging thing that is happening is that if an object fails validation and I select a different object from the list the error message persists. How would I reset the error message dictionary?
I don't think that should happen. ERD2WPage calls clearValidationFailed() in takeValuesFromRequest(). Every component should be getting awake, takeValues, invoke, append, sleep on each RR loop. If you're using Ajax, I think those steps are less guaranteed/clear.
Not picking on modern specifically though. validationKeys is little used. It could have been broken by code changes at some point and there may just have been nobody using it to notice yet.