Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TFPWebAction

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Web action with content and template support

Declaration

Source position: fpweb.pp line 34

type TFPWebAction = class(TCustomWebAction)

public

  constructor create(); override;

  

Creates a new TFPWebAction instance

  destructor destroy; override;

  

Destroys the TFPWebAction instance

  procedure Assign(); override;

  

Assigns properties from another object

published

  property Contents: TStrings; [rw]

  

Static content to serve when the action is executed

  property OnRequest: TWebActionEvent; [rw]

  

Event handler called when this action is executed

  property Template: TFPTemplate; [rw]

  

Template for dynamic content generation

end;

Inheritance

TFPWebAction

  

Web action with content and template support

|

TCustomWebAction

  

Base class for web actions

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

Description

TFPWebAction extends TCustomWebAction with support for direct content assignment and template processing. This class allows actions to serve static content from string lists or process dynamic content through templates.

The action can handle requests through the OnRequest event and provides built-in content serving capabilities.

See also

TFPWebActions

  

Collection of web actions with advanced functionality

TCustomWebAction

TFPTemplate


Documentation generated on: Jan 27 2026