Provides a means of managing validations. This class is intended as a mixin class for the panel classes such as XPage. Validations are integrated with the event handler so that when the event with which the validation is associated is triggered the validation is invoked. Failure of a validation results in subsequent event handler methods being blocked.
Validations are also invoked at page transition and all validations rules are checked. If all validations are not passed then the page transition can be blocked.
If a validation failes then an exception is thrown. The exception is by default handled by this class but it can be redirected to a custom exception handler with the setExceptionHandler method. This interface allows exceptions to handled in a variety of different ways.
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt $Revision: 2.10 $
|
|
|
|