legacy-knowledge-base
公開されました Jun. 30, 2025

ナビゲーションメニューアイテムの設定時にターゲットを設定できない

written-by

Adrienne Lao

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

問題

  • ナビゲーション・メニュー項目のテンプレート・セクションで${navItem.getTarget()}を見ることができますが、メニュー項目を作成するときにこれを設定する方法はありません。
  • メニュー項目の1つを新しいタブで開くように設定したいのですが。
    target="blank"
    UIに設定されている。

環境

  • DXP 7.2+

解像度

  • この機能は、ウェブページの詳細設定の下にあるウィジェットページでのみ利用可能です。 この機能は、DXP 7.4の後のバージョンまで、コンテンツページでは使用できません。 それ以降のバージョンでは、この機能フラグがデフォルトで有効になり、一般セクションで利用できるようになります。 7.4以降のバージョンにアップグレードすると、この機能を利用できるようになります。
  • DXP 7.2+でターゲットを設定できるようにする回避策があります:
    • タイトルに特殊文字を追加し、文字列を分割する。 これで目標を設定できる。

did-this-article-resolve-your-issue

legacy-knowledge-base