📄 widget-form.xsd
字号:
<xs:element name="display-entity" substitutionGroup="AllFields"> <xs:annotation><xs:documentation>This is just like display but looks up a description using the Entity Engine; note that if also-hidden is true then it uses the key as the value, not the shown description.</xs:documentation></xs:annotation> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.display-entity"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.display-entity"> <xs:attribute type="xs:string" name="entity-name" use="required"/> <xs:attribute type="xs:string" name="key-field-name"/> <xs:attribute type="xs:string" name="description" default="${description}"/> <xs:attribute name="cache" default="true"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="also-hidden" default="true"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="drop-down" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="entity-options"/> <xs:element ref="list-options"/> <xs:element ref="option"/> </xs:choice> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.drop-down"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.drop-down"> <xs:attribute name="allow-empty" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="current" default="first-in-list"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="first-in-list"/> <xs:enumeration value="selected"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="no-current-selected-key"> <xs:annotation><xs:documentation>The key to mark as selected when there is no current entry value.</xs:documentation></xs:annotation> </xs:attribute> <xs:attribute type="xs:string" name="current-description"/> <xs:attribute type="xs:integer" name="other-field-size" default="0"> <xs:annotation><xs:documentation>If non-zero, a text field will conditionally show next to the select control to implement a crude "combo box". In order for this to work there must be a option in the select as: <option key="_OTHER_" description="Specify other"/> - with '_OTHER_' being required and any 'description' allowed. In order to use this feature, the javascript code contained in the file: images/webapp/images/combobox.js must be included in the page. </xs:documentation></xs:annotation> </xs:attribute> </xs:attributeGroup> <xs:element name="file" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.file"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.file"> <xs:attribute type="xs:positiveInteger" name="size" default="25"/> <xs:attribute type="xs:positiveInteger" name="maxlength"/> <xs:attribute type="xs:string" name="default-value"/> </xs:attributeGroup> <xs:element name="hidden" substitutionGroup="AllFields"> <xs:complexType> <xs:attributeGroup ref="attlist.hidden"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.hidden"> <xs:attribute type="xs:string" name="value"/> </xs:attributeGroup> <xs:element name="hyperlink" substitutionGroup="AllFields"> <xs:complexType> <xs:attributeGroup ref="attlist.hyperlink"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.hyperlink"> <xs:attribute name="also-hidden" default="true"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="target-type" default="intra-app"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="intra-app"/> <xs:enumeration value="inter-app"/> <xs:enumeration value="content"/> <xs:enumeration value="plain"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="target" use="required"> <xs:annotation><xs:documentation>The target location of the hyperlink; can use the ${} syntax to substitute values from the context.</xs:documentation></xs:annotation> </xs:attribute> <xs:attribute type="xs:string" name="description"> <xs:annotation><xs:documentation>Specifies the string to display, can use the ${} syntax to insert context values; if empty the value of the field will be printed for a default.</xs:documentation></xs:annotation> </xs:attribute> <xs:attribute type="xs:string" name="target-window"/> </xs:attributeGroup> <xs:element name="ignored" substitutionGroup="AllFields"> <xs:complexType/> </xs:element> <xs:element name="image" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.image"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.image"> <xs:attribute type="xs:nonNegativeInteger" name="border" default="0"/> <xs:attribute type="xs:positiveInteger" name="width"/> <xs:attribute type="xs:positiveInteger" name="height"/> <xs:attribute type="xs:string" name="value"/> <xs:attribute type="xs:string" name="default-value"/> </xs:attributeGroup> <xs:element name="lookup" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.lookup"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.lookup"> <xs:attribute type="xs:string" name="target-form-name" use="required"/> <xs:attribute type="xs:positiveInteger" name="size" default="25"/> <xs:attribute type="xs:positiveInteger" name="maxlength"/> <xs:attribute type="xs:string" name="default-value"/> <xs:attribute type="xs:string" name="description-field-name"/> <xs:attribute type="xs:string" name="target-parameter"> <xs:annotation><xs:documentation>The name of a field whose value is passed in as a parameter to the lookup target form. Can be a comma separated list.</xs:documentation></xs:annotation> </xs:attribute> </xs:attributeGroup> <xs:element name="password" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.password"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.password"> <xs:attribute type="xs:positiveInteger" name="size" default="25"/> <xs:attribute type="xs:positiveInteger" name="maxlength"/> <xs:attribute type="xs:string" name="default-value"/> </xs:attributeGroup> <xs:element name="radio" substitutionGroup="AllFields"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="entity-options"/> <xs:element ref="list-options"/> <xs:element ref="option"/> </xs:choice> <xs:attributeGroup ref="attlist.radio"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.radio"> <xs:attribute type="xs:string" name="no-current-selected-key"/> </xs:attributeGroup> <xs:element name="range-find" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.range-find"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.range-find"> <xs:attribute type="xs:positiveInteger" name="size" default="25"/> <xs:attribute type="xs:positiveInteger" name="maxlength"/> <xs:attribute type="xs:string" name="default-value"/> </xs:attributeGroup> <xs:element name="reset" substitutionGroup="AllFields"> <xs:complexType/> </xs:element> <xs:element name="submit" substitutionGroup="AllFields"> <xs:complexType> <xs:attributeGroup ref="attlist.submit"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.submit"> <xs:attribute name="button-type" default="button"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="button"/> <xs:enumeration value="text-link"/> <xs:enumeration value="image"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="image-location"/> </xs:attributeGroup> <xs:element name="text" substitutionGroup="AllFields"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="sub-hyperlink"/> </xs:sequence> <xs:attributeGroup ref="attlist.text"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.text"> <xs:attribute type="xs:positiveInteger" name="size" default="25"/> <xs:attribute type="xs:positiveInteger" name="maxlength"/> <xs:attribute type="xs:string" name="default-value"/> <xs:attribute name="disabled" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="textarea" substitutionGroup="AllFields"> <xs:complexType> <xs:attributeGroup ref="attlist.textarea"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.textarea"> <xs:attribute type="xs:positiveInteger" name="cols" default="60"/> <xs:attribute type="xs:positiveInteger" name="rows" default="3"/> <xs:attribute type="xs:string" name="default-value"/> <xs:attribute name="visual-editor-enable" default="false"> <xs:annotation><xs:documentation>This will enable the html editor on this text area from www.unverse.net (more info there), only one textarea can be used on one page</xs:documentation></xs:annotation> <xs:simpleType> <xs:restriction base="xs:token">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -