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

Web コンテンツの表示が壊れている

written-by

Kanchan Bisht

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

問題

  • 新しい構造フィールドにより、デフォルト テンプレートで Freemarker エラーが発生する
    再現手順:
    1) コンテンツ & データ -> Web コンテンツ -> 構造に移動し、 'テキスト' フィールドを持つ構造を作成します
    2) 構造から Web コンテンツを作成する
    3) Site Builder -> ページに移動し、ウィジェット ページを追加する
    4) ページに Web コンテンツ表示ウィジェットを配置し、作成した Web コンテンツを表示するように構成する
    5) Content & Data -> Web Content -> Structures に移動し、 'Boolean' フィールドを追加して構造を更新します
    6) ページに戻り、WCD を確認します。
    予想される動作: Web コンテンツが表示されるはずです
    観察された動作: Freemarker テンプレート エラーが表示されます

Environment

  • Liferay DXP 7.3
  • ライフレイDXP 7.4

解決策

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base