以下の Struts 2 タグがあります。プロパティvalue="#attr.row.Commentaire
が空でないかどうかを確認する必要があります。そうでない場合は、ユーザーがクリックしてプロパティの内容を参照できる小さなアイコンを表示しますvalue="#attr.row.Commentaire
。
<s:if>
Struts 2のタグを効率的に使用するにはどうすればよいですか?
<display:column title="Commentaire" sortable="true" sortProperty="Commentaire"
class="alerte_td_commentaire">
<s:property value="#attr.row.Commentaire"/>