Tag library reference for the following tag libraries:
United Front 2 JSP Tag Library
This is version 2.0.
Required attributes are marked with a *
指定したコミュニティに指定したユーザが投稿可能かどうか判別するタグです。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| community* | コミュニティ | org.unitedfront2.domain.communication.Community |
| user | ユーザ | org.unitedfront2.domain.User |
| userId | ユーザ ID | String |
指定した資源に指定したユーザが参照可能かどうか判別するタグです。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| resource* | 資源 | org.unitedfront2.domain.accesscontrol.Resource |
| user | ユーザ | org.unitedfront2.domain.User |
| userId | ユーザ ID | String |
指定した資源に指定したユーザが書き込み可能かどうか判別するタグです。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| resource* | 資源 | org.unitedfront2.domain.accesscontrol.Resource |
| user | ユーザ | org.unitedfront2.domain.User |
| userId | ユーザ ID | String |
スレッド化した状態のメールを、更新日が最近の順でループ処理します。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| mail* | メール | org.unitedfront2.domain.communication.Mail |
| var | Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection. | String |
| varStatus | Name of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility. | String |
指定した日時が現在日時から1日以内なら時間を、年度内である場合は月日を、それ以外なら年月日を表示します。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| date* | 表示対象の日付 | java.util.Date |
| detail | 詳細な表示にする場合は true 、しない場合は false | boolean |
メールスレッド内に未読メールがあるかどうか判定します。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| mail* | メール | org.unitedfront2.domain.communication.Mail |
| user* | メールを閲覧しているユーザ | org.unitedfront2.domain.SimpleUser |
2つの Identifiable オブジェクトが同一である場合に本文を評価します。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| o1* | オブジェクト1 | org.unitedfront2.domain.Identifiable |
| o2* | オブジェクト2 | org.unitedfront2.domain.Identifiable |
メッセージの本文を出力するタグライブラリです。ロケールに応じて適切な本文を選択します。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| message* | メッセージ | org.unitedfront2.domain.communication.Message |
メッセージの件名を出力するタグライブラリです。ロケールに応じて適切な件名を選択します。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| message* | メッセージ | org.unitedfront2.domain.communication.Message |
モバイル端末からのアクセス時のみ内容を評価するタグです。
Can contain: JSP
This tag has no attributes.
複数行テキスト出力用のタグライブラリです。予約文字をエスケープし、改行文字の前に BR タグを挿入します。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| value* | 複数行テキスト | String |
2つの Identifiable オブジェクトが同一でない場合に本文を評価します。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| o1* | オブジェクト1 | org.unitedfront2.domain.Identifiable |
| o2* | オブジェクト2 | org.unitedfront2.domain.Identifiable |
ページングを表示するタグです。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| count | 総件数 | String |
| displayCount | ページの表示件数。デフォルトは20。 | int |
| flow | Web Flow の状態を維持するなら true 、しないなら false | boolean |
| pageParamName | ページの変数名。デフォルトは 'page' 。 | String |
| url* | URL | String |
PC 端末からのアクセス時のみ内容を評価するタグです。
Can contain: JSP
This tag has no attributes.
SCRIPT タグを表示するタグです。
Can contain: JSP
This tag has no attributes.
ユーザ名とのプロフィールへのリンクを生成するタグライブラリです。
Can contain: empty
| Name | Description | Type |
|---|---|---|
| link | リンクを強制的に付けるなら true 、強制的にリンクしないなら false | boolean |
| user* | ユーザ | org.unitedfront2.domain.User |
配列またはコレクションの中に検索対象のユーザが含まれているかどうかで条件分岐を行うタグです。含まれていれば本文を評価し、含まれていなければ評価しません。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| user* | 検索対象のユーザ | org.unitedfront2.domain.User |
| users* | ユーザの配列またはコレクション | java.util.Collection |
配列またはコレクションの中に検索対象のユーザが含まれているかどうかで条件分岐を行うタグです。含まれていなければ本文を評価し、含まれていれば評価しません。
Can contain: JSP
| Name | Description | Type |
|---|---|---|
| user* | 検索対象のユーザ | org.unitedfront2.domain.User |
| users* | ユーザの配列またはコレクション | java.util.Collection |