0
Webコンテンツを作成するためのテンプレート用の構造体があります。 Listという名前のテキストの親要素で、Itemという名前の反復可能な子要素があります。 LiferayのWebコンテンツマネージャで反復可能な要素を繰り返し処理できません
2つ以上の要素を追加しようとすると、テンプレートですべてを表示できません。 Itemの最初の要素のみを表示します。ここ はそれで私のテンプレート
<#if Information.getSiblings()?has_content>
<#list Information.getSiblings() as information>
<h1>${information.getChild('Title').getData()}</h1>
<p>${information.getChild('Description').getData()}</p>
<ul>
<#list information.getChild('List').getSiblings() as item>
<li>${item.getChild('Item').getData()}</li>
</#list>
</ul>
</#list>
UPD ディールです。これは
<#if Information.getSiblings()?has_content>
<#list Information.getSiblings() as information>
<h1>${information.getChild('Title').getData()}</h1>
<p>${information.getChild('Description').getData()}</p>
<ul>
<#list information.getChild('List').getChild('Item').getSiblings() as item>
<li>${item.getData()}</li>
</#list>
</ul>
</#list>
あなたの答えに感謝します。しかし、私は解決策を見つけた。アップデートをチェック! –