3.22.1 カスタムウィンドウステートの設定
標準APIポートレットでカスタムウィンドウステートを使用する場合にポートレットアプリケーションDDおよびPortletApp.propertiesの設定が必要です。
- <この項の構成>
- (1) ポートレットアプリケーションDD
- (2) PortletApp.propertiesファイル
(1) ポートレットアプリケーションDD
ポートレットアプリケーションDDに<custom-window-state>の定義を次のとおりに追加します。
- NEWWINDOWステートを使用する場合
<custom-window-state>
<description>uCosminexus Portal Framework presents New window state.</description>
<window-state>newwindow</window-state>
</custom-window-state>
- IFRAMEステートを使用する場合
<custom-window-state>
<description>uCosminexus Portal Framework presents IFrame state.</description>
<window-state>iframe</window-state>
</custom-window-state>
(2) PortletApp.propertiesファイル
ポータルコンテキストの設定でサポートしているウィンドウ状態の設定を追加します。PortletApp.propertiesファイルの設定内容についてはマニュアル「uCosminexus Portal Framework システム管理者ガイド」の「PortletApp.propertiesの詳細」を参照してください。