Declaration¶
Source position: fpweb.pp line 58
type
TFPWebActions = class(TCustomWebActions)
public
function Add : TFPWebAction;
function ActionByName : TFPWebAction;
function FindAction : TFPWebAction;
property FPWebActions[Index : Integer]: TFPWebAction; {rw}
property ActionVar;
property CurrentAction: TFPWebAction; {r}
end;
Inheritance¶
Description¶
TFPWebActions extends TCustomWebActions to provide a collection of TFPWebAction objects. It handles request routing to appropriate actions and provides content generation capabilities.
The collection maintains a reference to the currently executing action and can route requests based on URL parameters.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| ActionVar read only | public | Name of the request parameter used to identify the action |
| CurrentAction read only | public | The currently executing web action |
| FPWebActions | public | Array property providing indexed access to web actions |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| ActionByName | public | Returns the action with the specified name |
| Add | public | Adds a new web action to the collection |
| FindAction | public | Searches for an action with the specified name |
See also¶
| Name | Description |
|---|---|
| TFPWebAction | Web action with content and template support |
| TCustomWebActions |