|
RAD Studio VCL Reference
|
Validate the adapter's field values passed in the HTTP request.
procedure UpdateFieldsValidateValues(AActionRequest: IActionRequest; AAdapterFields: TObjectList); virtual;
virtual __fastcall UpdateFieldsValidateValues(IActionRequest AActionRequest, TObjectList AAdapterFields);
UpdateFieldsValidateValues loops through the adapter fields passed in the AAdapterFields parameter, calling the ValidateValue function. Adapter fields raise an exception to indicate a validation error. When an exception occurs, th exception messages are added to the Errors object and validation continues. OnBeforeValidateFields and OnAfterValidateFields are at the beginning and end of this method.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|