RAD Studio VCL Reference
|
Defines hidden field(s) that pass the original values of adapter fields in the HTTP request when an HTML form is submitted.
procedure AddOrigValueHiddenFields(AHiddenFields: TAdapterHiddenFieldsList);
__fastcall AddOrigValueHiddenFields(TAdapterHiddenFieldsList AHiddenFields);
In order to ensure that the data associated with the adapter hasn't been changed by another user, descendant adapters may check that the current values of adapter fields are the same as the original values. For example, TDataSetAdapter raises an exception if the original values are not the same as the dataset's values. The hidden fields defined by AddOrigValueHiddenFields are added to an HTML form using the server-side script method HiddenRecordFields.WriteFields.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|