表示形式の保存
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
-
ドキュメントとメディアやWebコンテンツ等で、リスト、テーブル、カードの表示方式を選択できますが、一度選んだ表示形式をキープできますか。
解決
- 表示形式の設定は各ユーザーごとに保存されます。
-
再アクセスした場合でも、同じユーザーであれば前回選択した表示形式を保持します。
- 表示形式は、「PortalPreferences.preferences」に以下のような形式で保存されます。
com_liferay_item_selector_web_portlet_ItemSelectorPortlet#display-style</name><value>icon</value></preference><preference>
カード:icon
リスト:descriptive
テーブル:list
did-this-article-resolve-your-issue