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

📄 widget-screen.xsd

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 XSD
📖 第 1 页 / 共 4 页
字号:
<?xml version="1.0" encoding="UTF-8"?><!--    *  Copyright (c) 2004-2005 The Open For Business Project - www.ofbiz.org    *    *  Permission is hereby granted, free of charge, to any person obtaining a    *  copy of this software and associated documentation files (the "Software"),    *  to deal in the Software without restriction, including without limitation    *  the rights to use, copy, modify, merge, publish, distribute, sublicense,    *  and/or sell copies of the Software, and to permit persons to whom the    *  Software is furnished to do so, subject to the following conditions:    *    *  The above copyright notice and this permission notice shall be included    *  in all copies or substantial portions of the Software.    *    *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS    *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.    *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY    *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT    *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.    *    *  $Id: widget-screen.xsd 7045 2006-03-22 08:46:16Z jonesde $--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">    <xs:element name="screens">        <xs:complexType>            <xs:sequence>                <xs:element maxOccurs="unbounded" ref="screen"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="screen">        <xs:complexType>            <xs:sequence>                <xs:element ref="section"/>            </xs:sequence>            <xs:attributeGroup ref="attlist.screen"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.screen">        <xs:attribute type="xs:string" name="name" use="required"/>        <xs:attribute type="xs:string" name="transaction-timeout" use="optional"/>    </xs:attributeGroup>    <xs:element name="section" substitutionGroup="AllWidgets">        <xs:complexType>            <xs:sequence>                <xs:element minOccurs="0" ref="condition"/>                <xs:element minOccurs="0" ref="actions"/>                <xs:element ref="widgets"/>                <xs:element minOccurs="0" ref="fail-widgets"/>            </xs:sequence>            <xs:attributeGroup ref="attlist.section"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.section">        <xs:attribute type="xs:string" name="name"/>    </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:complexType>    </xs:element>    <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 type="xs:string" name="field-name" use="required"/>        <xs:attribute type="xs:string" name="method" use="required"/>        <xs:attribute type="xs:string" 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 type="xs:string" 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 type="xs:string" 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 type="xs:string" 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 type="xs:string" 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 type="xs:string" 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 type="xs:string" name="format"/>    </xs:attributeGroup>    <xs:element name="if-regexp" substitutionGroup="AllConditionals">        <xs:complexType>

⌨️ 快捷键说明

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