TWebPageComponent

Abstract base class for components within a web page that can be rendered to a THtmlElement.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TWebPageComponent

Source

WebSite.Page.Component.pas (34)

Description

Represents a node in a hierarchy of components that can occur on a web page. Components have a Name that should be unique among its sibling components. A web page component usually is rendered within the context of its containing web page using a call to Render. However, every component also is directly reachable through its own URI based on its containing components and web page. A component can implement CreateRequestHandler to handle requests that are directed to its own URI.

Fields

ScopeVisibilityTypeNameDescription
InstancepublicTTextName
InstancepublicTControlModeMode

Methods

ScopeVisibilityResultNameDescription
InstanceprotectedSetCaption(Value: TDocumentNode)
InstanceprotectedTDocumentNodeGetCaption()
InstanceprotectedTBooleanGetInputOK()
InstanceprotectedSetInputOK(Value: TBoolean)
InstancepublicCreate()
InstancepublicTHtmlElementRender(Request: TWebSiteRequest)
InstancepublicLoadFromParameters(Parameters: TDictionary)
InstancepublicCheckInput(Problems: TFormProblems)
InstancepublicTWebSiteRequestHandlerCreateRequestHandler(Request: TWebSiteRequest)
InstancepublicTIterator<TWebPageComponent>CreateChildIterator()
InstancepublicTIterator<TWebPageComponent>CreateSubtreeIterator(Order: TTreeVerticalOrder)
InstancepublicTWebPageComponentGetDescendantWithName(Name: TText)