|
Strutsフレームワーク
|
| テンプレート タグ |
This tag library contains three tags: put, get, and insert. Put tags
put content into request scope, which is retrieved by a get tag in
a different JSP page (the template). That template is included with the
insert tag.
このタグライブラリは3つのタグを含んでいます : put、get、insert。
Putタグは内容をリクエストスコープに配置し、
その内容は異なるJSPページ(テンプレート)のgetタグによって取り出されます。
テンプレートはinsertタグに含まれます。
| | Tag Name | Description |
|---|
| insert |
テンプレートを挿入します(実際に取り込む)。
テンプレートはパラメータ化された内容を含んでいるJSPページです。
内容は、insertタグの子供であるputタグから受け継ぎます。
| | put |
内容をリクエストスコープに配置します。
| | get |
putタグによりそこから配置された内容をリクエストスコープから取り出します。
|
|
| insert -
テンプレートを挿入します(実際に取り込む)。
テンプレートはパラメータ化された内容を含んでいるJSPページです。
内容は、insertタグの子供であるputタグから受け継ぎます。
|
This tag's enclosed put tags put content (URIs or text) into request
scope. That content is retrieved by get tags in a template (templates
are JSP pages). That template is included by this tag's end tag.
このタグで囲まれたputタグは、内容(URIまたはテキスト)をリクエストスコープに配置します。
内容はテンプレート(テンプレートはJSPページです)内をgetタグで取り出したものです。
テンプレートはこのタグの終了タグによって取り込まれます。
| | Attribute Name | Description |
|---|
| template |
A string representing the URI of a template (a JSP page).
テンプレート(JSPページ)のURIを表わす文字列。
[Required]
[RT Expr]
|
|
| put -
内容をリクエストスコープに配置します。
|
Put content into request scope.
内容をリクエストスコープに配置します。
| | Attribute Name | Description |
|---|
| name |
The name of the content.
内容を指す名前。
[Required]
[RT Expr]
| | role |
If the user is in the specified role, the content is stored for
subsequent access by the get tag; otherwise, the content is ignored.
ユーザが指定されたロール内であれば、
続くgetタグによるアクセスのために内容が格納されます。
ロール内でなければ、内容は無視されます。
[RT Expr]
| | content |
Content that's put into request scope.
リクエストスコープの中に配置される内容。
[RT Expr]
| | direct |
Determines how content is handled: true means content is
printed directly; false, the default, means content
is included.
内容がどう扱われるかを決めます。true の場合、内容が直接印刷されます。
false (デフォルト値)の場合、内容が含まれます。
[RT Expr]
|
|
| get -
putタグによりそこから配置された内容をリクエストスコープから取り出します。
|
Retrieve content from request scope and include it.
リクエストスコープとそれに含まれるものから内容を取り出します。
| | Attribute Name | Description |
|---|
| flush |
If set to true, flush the response buffer prior to
including the content specified by the name attribute.
By default, the response is not flushed. NOTE -
this attribute exists only to work around problems on some containers;
flushing should never be required.
trueの場合、name属性で指定した内容を取り込む前に、
レスポンスバッファをフラッシュします。
デフォルト時は、レスポンスはフラッシュされません。
注意 -
この属性はいくつかのコンテナでの問題に対応するために存在しています。
フラッシュは必須となることはありません。
[RT Expr]
| | name |
The name of the content to get from request scope.
リクエストスコープから得る内容の名前。
[Required]
[RT Expr]
| | role |
If the user is in the specified role, the content is retrieved,
otherwise, the content is ignored.
ユーザが指定されたロール内であれば、内容は取り出されます。
ロール内でなければ、内容は無視されます。
[RT Expr]
|
|
|