[英]How can use <s:if> tag in Struts 2?
我有下面的 Struts 2 标签,我需要检查 property value="#attr.row.Commentaire
是否不为空,如果不是,则显示一个小图标,用户可以在其中单击它并查阅属性value="#attr.row.Commentaire
的内容value="#attr.row.Commentaire
.
我怎样才能有效地使用 Struts 2 的<s:if>
标签来做到这一点?
<display:column title="Commentaire" sortable="true" sortProperty="Commentaire"
class="alerte_td_commentaire">
<s:property value="#attr.row.Commentaire"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.