⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 widget-menu.xsd

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 XSD
📖 第 1 页 / 共 2 页
字号:
        </xs:attribute>        <xs:attribute name="type" default="String">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="PlainString"/>                    <xs:enumeration value="String"/>                    <xs:enumeration value="Double"/>                    <xs:enumeration value="Float"/>                    <xs:enumeration value="Long"/>                    <xs:enumeration value="Integer"/>                    <xs:enumeration value="Date"/>                    <xs:enumeration value="Time"/>                    <xs:enumeration value="Timestamp"/>                    <xs:enumeration value="Boolean"/>                    <xs:enumeration value="Object"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="to-scope" default="screen">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="screen"/>                    <xs:enumeration value="user"/>                    <xs:enumeration value="application"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="from-scope" default="screen">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="screen"/>                    <xs:enumeration value="user"/>                    <xs:enumeration value="application"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>    </xs:attributeGroup>    <!-- ================ CONDITIONS ================ -->    <xs:element name="AllConditionals" abstract="true"/>    <xs:element name="condition">        <xs:complexType>            <xs:sequence>                <xs:element minOccurs="1" maxOccurs="1" ref="AllConditionals"/>            </xs:sequence>            <xs:attributeGroup ref="attlist.condition"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.condition">        <xs:attribute type="xs:string" name="pass-style">            <xs:annotation>                <xs:documentation>                    If a pass-style provided and the condition passes, the widget-style of                    the parent menu-item is set with the pass-style. If no pass-style is given,                    the widget-style is not changed.                </xs:documentation>            </xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="disabled-style">            <xs:annotation>                <xs:documentation>                    If a disabled-style provided and the condition fails, the disabled-style of                    the parent menu-item is set with the disabled-style and processing is allowed to continue.                     If no disabled-style is given, the widget-style is not changed and the menu-item is not rendered.                </xs:documentation>            </xs:annotation>        </xs:attribute>    </xs:attributeGroup>    <xs:element name="and" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:sequence>                <xs:element maxOccurs="unbounded" ref="AllConditionals"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="xor" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:sequence>                <xs:element maxOccurs="unbounded" ref="AllConditionals"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="or" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:sequence>                <xs:element maxOccurs="unbounded" ref="AllConditionals"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="not" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:sequence>                <xs:element ref="AllConditionals"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="if-has-permission" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:attributeGroup ref="attlist.if-has-permission"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-has-permission">        <xs:attribute type="xs:string" name="permission" use="required"/>        <xs:attribute type="xs:string" name="action"/>    </xs:attributeGroup>    <xs:element name="if-entity-permission" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:choice minOccurs="0">                <xs:element minOccurs="0" maxOccurs="1" ref="permission-condition-getter"/>                <xs:element minOccurs="0" maxOccurs="1" ref="related-role-getter"/>                <xs:element minOccurs="0" maxOccurs="1" ref="auxiliary-value-getter"/>            </xs:choice>            <xs:attributeGroup ref="attlist.if-entity-permission"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-entity-permission">        <xs:attribute type="xs:string" name="entity-name" use="required"/>        <xs:attribute type="xs:string" name="entity-id" use="required">            <xs:annotation><xs:documentation>Can have multiple pipe separated values, but don't use spaces.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="target-operation" use="required">            <xs:annotation><xs:documentation>Can have multiple pipe separated values, but don't use spaces.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute name="display-fail-cond" 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="permission-condition-getter">        <xs:complexType>            <xs:attributeGroup ref="attlist.permission-condition-getter"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.permission-condition-getter">        <xs:attribute type="xs:string" name="entity-name" />        <xs:attribute type="xs:string" name="operation-field-name" />        <xs:attribute type="xs:string" name="role-field-name" />        <xs:attribute type="xs:string" name="auxiliary-field-name" />        <xs:attribute type="xs:string" name="status-field-name" />        <xs:attribute type="xs:string" name="privilege-field-name" />    </xs:attributeGroup>    <xs:element name="related-role-getter">        <xs:complexType>            <xs:attributeGroup ref="attlist.related-role-getter"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.related-role-getter">        <xs:attribute type="xs:string" name="entity-name" />        <xs:attribute type="xs:string" name="role-entity-name" />        <xs:attribute type="xs:string" name="role-type-field-name" />        <xs:attribute type="xs:string" name="party-field-name" />        <xs:attribute type="xs:string" name="owner-entity-field-name" />        <xs:attribute type="xs:string" name="entity-id-name" />    </xs:attributeGroup>    <xs:element name="auxiliary-value-getter">        <xs:complexType>            <xs:attributeGroup ref="attlist.auxiliary-value-getter"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.auxiliary-value-getter">        <xs:attribute type="xs:string" name="entity-name" />        <xs:attribute type="xs:string" name="auxiliary-field-name" />        <xs:attribute type="xs:string" name="entity-id-name" />    </xs:attributeGroup>    <xs:element name="if-validate-method" substitutionGroup="AllConditionals">        <xs:annotation><xs:documentation>Calls a static Java method that takes a String and returns a boolean.</xs:documentation></xs:annotation>        <xs:complexType>            <xs:attributeGroup ref="attlist.if-validate-method"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-validate-method">        <xs:attribute name="field-name" use="required"/>        <xs:attribute name="method" use="required"/>        <xs:attribute name="class" default="org.ofbiz.base.util.UtilValidate"/>    </xs:attributeGroup>    <xs:element name="if-compare" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:attributeGroup ref="attlist.if-compare"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-compare">        <xs:attribute name="field-name" use="required"/>        <xs:attribute name="operator" use="required">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="less"/>                    <xs:enumeration value="greater"/>                    <xs:enumeration value="less-equals"/>                    <xs:enumeration value="greater-equals"/>                    <xs:enumeration value="equals"/>                    <xs:enumeration value="not-equals"/>                    <xs:enumeration value="contains"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="value" use="required"/>        <xs:attribute name="type" default="String">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="PlainString"/>                    <xs:enumeration value="String"/>                    <xs:enumeration value="Double"/>                    <xs:enumeration value="Float"/>                    <xs:enumeration value="Long"/>                    <xs:enumeration value="Integer"/>                    <xs:enumeration value="Date"/>                    <xs:enumeration value="Time"/>                    <xs:enumeration value="Timestamp"/>                    <xs:enumeration value="Boolean"/>                    <xs:enumeration value="Object"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="format"/>    </xs:attributeGroup>    <xs:element name="if-compare-field" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:attributeGroup ref="attlist.if-compare-field"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-compare-field">        <xs:attribute name="field-name" use="required"/>        <xs:attribute name="operator" use="required">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="less"/>                    <xs:enumeration value="greater"/>                    <xs:enumeration value="less-equals"/>                    <xs:enumeration value="greater-equals"/>                    <xs:enumeration value="equals"/>                    <xs:enumeration value="not-equals"/>                    <xs:enumeration value="contains"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="to-field-name"/>        <xs:attribute name="type" default="String">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="PlainString"/>                    <xs:enumeration value="String"/>                    <xs:enumeration value="Double"/>                    <xs:enumeration value="Float"/>                    <xs:enumeration value="Long"/>                    <xs:enumeration value="Integer"/>                    <xs:enumeration value="Date"/>                    <xs:enumeration value="Time"/>                    <xs:enumeration value="Timestamp"/>                    <xs:enumeration value="Boolean"/>                    <xs:enumeration value="Object"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute name="format"/>    </xs:attributeGroup>    <xs:element name="if-regexp" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:attributeGroup ref="attlist.if-regexp"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-regexp">        <xs:attribute name="field-name" use="required"/>        <xs:attribute name="expr" use="required"/>    </xs:attributeGroup>    <xs:element name="if-empty" substitutionGroup="AllConditionals">        <xs:complexType>            <xs:attributeGroup ref="attlist.if-empty"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.if-empty">        <xs:attribute name="field-name" use="required"/>    </xs:attributeGroup></xs:schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -