RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.ListHiddenRecordFields Method

Specifies the HTML form hidden fields needed by the adapter.

Pascal
procedure ListHiddenRecordFields(AHiddenFields: TAdapterHiddenFieldsList);
C++
__fastcall ListHiddenRecordFields(TAdapterHiddenFieldsList AHiddenFields);

Some adapters may use hidden fields to define the relationship between input fields in the HTML form and data of the adapter. For example, an HTML form that contains an HTML table for updating 5 detail records of a TDataSetAdapter will have 5 sets of hidden fields. Each set provides state information needed by the adapter to determine the relationship between the input fields in the HTTP request and the dataset. 

ListHiddenRecordFields may call AddOrigValueHiddenFields and/or AddRecordKeysHiddenFields depending on the flags returned by GetHiddenFieldOptions

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!