legacy-knowledge-base
公開されました Jul. 2, 2025

SPA が無効になっているページをナビゲートすると、ページ分割された複数選択が失われる

written-by

Daniel Couso

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

問題

  • ユーザーを特定の役割に割り当てるためのビューは、ページ分割できます。 SPA が無効になっている場合、最後のページで選択されたユーザーのみが効果的に選択されます。前のページで選択されたユーザーは破棄されます。
  • これは、ページ分割されたリストをナビゲートすることによって複数のアイテムをエンティティに割り当てることができる同様のシナリオで発生する可能性があります。

Environment

  • Liferay DXP 7.1+

解決策

  • SPA が無効になっている場合、ページからページへの移動は、以前のバージョンで伝統的に行われていたように、以前に選択したアイテムを失うため、ページ全体を更新することを意味します。
  • ページ分割された複数選択を完全に機能させるには、ポータル プロパティ javascript.single.page.application.enabled=trueを設定して、SPA がアクティブであることを確認する必要があります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base