Web.Stencils.TWebStencilsProcessor.PathTemplate
Delphi
property PathTemplate: string read GetPathTemplate write SetPathTemplate;
C++
__property System::UnicodeString PathTemplate = {read=GetPathTemplate, write=SetPathTemplate};
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| property | published | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | TWebStencilsProcessor |
説明
リクエスト パスを解析し、変数を抽出するために使用されます。
テンプレートは、'/' で始まるリスエスト パスで、変数マーカーとして '{name}' を任意で含むことができます。
例:
'/mysite/{filename}/{arg1}'
変数は、'@page.<variable name>' 形式でアクセスできます。
{filename} 変数が指定されていない場合、最後のパス セグメントが、'filename' 変数の値となります。