TAdapter = class(TCustomAdapter)
class PASCALIMPLEMENTATION TAdapter : public TCustomAdapter
TAdapter defines a scriptable interface to event handlers that return data items or execute commands in your application.
Use TAdapter to define a custom interface to application logic. Adapters contain field components and action components that represent data items and commands, respectively. Server-side script statements access the value of Adapter fields and the parameters of Adapter actions in order to build HTML forms and tables. Server-side script can be written by hand or automatically generated by the TAdapterPageProducer component. When an HTML form containing Adapter commands is submitted, the TAdapterDispatcher may automatically call an Adapter action component to execute the command. When an HTTP request for an adapter image field is received the TAdapterDispatcher may automatically call an Adapter field to retrieve the image.
For each field component added to TAdapter, you must implement an event handler to retrieve the data. For each action component added to TAdapter, you must implement an event handler to execute the command. Other adapter components, such as TDataSetAdapter and TLoginFormAdapter, have built in fields and actions that do not require events.