Sign in Join
FPDoc Onlineexperiment

TFPWebAction class

In unit FpWeb

Web action with content and template support

Declaration

pascal
TFPWebAction = class(TCustomWebAction)

Inheritance

  1. TFPWebAction
  2. TCustomWebAction
  3. TCollectionItem
  4. TPersistent
  5. TObject

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

Properties

ContentspublishedStatic content to serve when the action is executed
TemplatepublishedTemplate for dynamic content generation

Methods

DoHandleRequestprotected
DoGetContentprotected
GetContentprotected
createpublicCreates a new TFPWebAction instance
destroypublicDestroys the TFPWebAction instance
AssignpublicAssigns properties from another object

Events

OnRequestpublishedEvent handler called when this action is executed

Inherited

From TCustomWebAction (10)

AfterResponse BeforeRequest ContentProducer Default GetDisplayName GetNamePath HandleRequest Name SetContentProducer SetDisplayName

From TCollectionItem (8)

Changed Collection DisplayName GetOwner ID Index SetCollection SetIndex

From TPersistent (5)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.