| A view that validates its GUI state. On OK pressed the GUI state is
validated, and a modal dialog shows the errors and warnings - if any.
The domain model will be updated only, if the GUI state has no errors
- though it may have warnings.
This class exists for learning and demonstration purposes only.
Typically you won't validate the GUI state, but validate
the domain object properties or the presentation model state.
See the
SimpleDomainValidationExample for a similar example
that validates the domain object, not the GUI state.
author: Karsten Lentzsch version: $Revision: 1.14 $ See Also: SimpleDomainValidationExample |