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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • ナビゲーション・メニュー項目のテンプレート・セクションで${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