OpenCms exists isSet

  • exists: 检查元素是否存在。
  • isSet: 检查元素是否存在且不为空。
<c:if test="${value.Options.exists && value.Options.value.Text.isSet}">
   <div>${value.Options.value.Text}</div>
</c:if>
posted @ 2022-04-26 14:34  freepc  阅读(28)  评论(0)    收藏  举报