Web.Stencils.TWebStencilsProcessor.PathTemplate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PathTemplate: string read GetPathTemplate write SetPathTemplate;

C++

__property System::UnicodeString PathTemplate = {read=GetPathTemplate, write=SetPathTemplate};

Properties

Type Visibility Source Unit Parent
property published
Web.Stencils.pas
Web.Stencils.hpp
Web.Stencils TWebStencilsProcessor

Description

Used to parse the request path and extract variables.

A template is a request path starting with '/' and may include '{name}' as a variable marker.

For example:

 '/mysite/{filename}/{arg1}'

The variables are accessible using '@page.<variable name>'.

When a {filename} variable is not specified, the last path segment is the value of the 'filename' variable.


See Also