摘要: Boolean widget: 布尔小部件,提供一个复选框并在内部存储一个布尔值。 这个小部件不需要任何配置。 示例: XSD: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualifie 阅读全文
posted @ 2022-04-26 15:11 freepc 阅读(42) 评论(0) 推荐(0)
摘要: toBoolean: 转换为boolean值。真或假。 ${value.BooleanValue.toBoolean} <c:if test="${value.BooleanValue.toBoolean}">xxx</c:if> 阅读全文
posted @ 2022-04-26 15:05 freepc 阅读(30) 评论(0) 推荐(0)
摘要: exists: 检查元素是否存在。 isSet: 检查元素是否存在且不为空。 <c:if test="${value.Options.exists && value.Options.value.Text.isSet}"> <div>${value.Options.value.Text}</div> 阅读全文
posted @ 2022-04-26 14:34 freepc 阅读(28) 评论(0) 推荐(0)
摘要: 一般结构: <xsd:complexType name="OpenCmsBootstrapBlog"> <xsd:sequence> <xsd:element name="Title" type="OpenCmsString" /> <xsd:element name="Date" type="Op 阅读全文
posted @ 2022-04-26 13:48 freepc 阅读(108) 评论(0) 推荐(0)