RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.ListHiddenFields Method

Specifies the HTML form hidden fields needed by the adapter.

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

Some adapters have state information that must be preserved between HTTP requests. For example, TDataSetAdapter has a mode property. HTML forms that modify TDataSetAdapter datasets include the mode property value as a hidden field. When the HTML form is submitted, the mode property value will be included in the HTTP request. When executing an action TDataSetAdapter extracts the mode property value from the HTTP request and updates it's mode property. ListHiddenRecordFields may call AddAdapterModeHiddenField 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!