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

📄 widget-form.xsd

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 XSD
📖 第 1 页 / 共 5 页
字号:
<?xml version="1.0" encoding="UTF-8"?><!--    *  Copyright (c) 2003-2004 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-form.xsd 7100 2006-03-29 00:26:54Z jonesde $--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">  <!-- ================== FORMS ==================== -->    <xs:element name="forms">        <xs:complexType>            <xs:sequence>                <xs:element maxOccurs="unbounded" ref="form"/>            </xs:sequence>        </xs:complexType>    </xs:element>    <xs:element name="form">        <xs:complexType>            <xs:sequence>                <xs:element minOccurs="0" ref="actions"/>                <xs:element minOccurs="0" ref="row-actions"/>                <xs:element minOccurs="0" maxOccurs="unbounded" ref="alt-target"/>                <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-service"/>                <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-entity"/>                <xs:element minOccurs="0" maxOccurs="unbounded" ref="field"/>                <xs:element minOccurs="0" ref="sort-order"/>            </xs:sequence>            <xs:attributeGroup ref="attlist.form"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.form">        <xs:attribute type="xs:string" name="name" use="required"/>        <xs:attribute name="type" use="required">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="single">                        <xs:annotation><xs:documentation>a single form is a simple single form with values from a single set of values</xs:documentation></xs:annotation>                    </xs:enumeration>                    <xs:enumeration value="list">                        <xs:annotation><xs:documentation>a list form is a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element</xs:documentation></xs:annotation>                    </xs:enumeration>                    <xs:enumeration value="multi">                        <xs:annotation><xs:documentation>a multi form is like a list/tabular form, but it creates a single form to submit all list item forms at once; the field names in the resulting form have an appendage attached to make them unique according to the pattern used for the multi-service event handler that will call one service for each list element</xs:documentation></xs:annotation>                    </xs:enumeration>                    <xs:enumeration value="upload">                    </xs:enumeration>                </xs:restriction>            </xs:simpleType>        </xs:attribute>        <xs:attribute type="xs:string" name="target"/>        <xs:attribute type="xs:string" name="target-window"/>        <xs:attribute type="xs:string" name="title"/>        <xs:attribute type="xs:string" name="tooltip"/>        <xs:attribute type="xs:string" name="list-name">            <xs:annotation><xs:documentation>for list type and other multiple data/form types this is the name of the list in the context to iterate over</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="list-entry-name">            <xs:annotation><xs:documentation>if specified each list entry will be put in the context with this name; otherwise the list entry must be a Map and the entries in the Map will be put into the context by name</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="default-map-name"/>        <xs:attribute type="xs:string" name="default-entity-name"/>        <xs:attribute type="xs:string" name="default-service-name"/>        <xs:attribute type="xs:string" name="form-title-area-style">            <xs:annotation><xs:documentation>The form-title-area-style specifies the style to use in the header or title area for the form in a multi-form widget with all form fields rendered in one area.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="form-widget-area-style">            <xs:annotation><xs:documentation>The form-widget-area-style specifies the style to use in the main or widget area for the form in a multi-form widget with all form fields rendered in one area.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="default-title-area-style"/>        <xs:attribute type="xs:string" name="default-widget-area-style"/>        <xs:attribute type="xs:string" name="default-title-style"/>        <xs:attribute type="xs:string" name="default-widget-style"/>        <xs:attribute type="xs:string" name="default-tooltip-style"/>        <xs:attribute type="xs:string" name="default-required-field-style"/>        <xs:attribute type="xs:string" name="paginate-target">            <xs:annotation><xs:documentation>Target location for the [Previous] and [Next] buttons in a form with pagination. Accepts ${} notation.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-target-anchor">            <xs:annotation><xs:documentation>Target anchor for the [Previous] and [Next] buttons in a form with pagination.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-size-field">            <xs:annotation><xs:documentation>The name of the parameter that specifies the number of rows to display for each page in a list form with multiple pages. The default is VIEW_SIZE. Accepts ${} notation.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-index-field">            <xs:annotation><xs:documentation>The name of the parameter that specifies what the current page is in a list form with multiple pages. The default is VIEW_INDEX Accepts ${} notation.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-previous-label">            <xs:annotation><xs:documentation>Text to display for the [Previous] button in a form with pagination. Defaults to "Previous". Accepts ${} notation.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-next-label">            <xs:annotation><xs:documentation>Text to display for the [Next] button in a form with pagination. Defaults to "Next". Accepts ${} notation.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-previous-style">            <xs:annotation><xs:documentation>CSS style to use for the [Previous] button in a form with pagination. Defaults to "buttontext".</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="paginate-next-style">            <xs:annotation><xs:documentation>CSS style to use for the [Next] button in a form with pagination. Defaults to "buttontext".</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="item-index-separator" default="_o_"/>        <xs:attribute type="xs:string" name="extends"/>        <xs:attribute type="xs:string" name="extends-resource"/>        <xs:attribute name="separate-columns" 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 type="xs:string" name="list-iterator-name"/>        <xs:attribute type="xs:string" name="view-size"/>        <xs:attribute name="paginate" 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 type="xs:string" name="row-count"/>        <xs:attribute name="use-row-submit" 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="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 name="css-styling" 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="skip-start" 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="skip-end" 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="hide-header" 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 type="xs:string" name="odd-row-style">            <xs:annotation><xs:documentation>The odd-row-style specifies the style to use in the table content odd rows.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="even-row-style">            <xs:annotation><xs:documentation>The even-row-style specifies the style to use in the table content even rows.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="default-table-style">            <xs:annotation><xs:documentation>The default-table-style specifies the style to use in the table.</xs:documentation></xs:annotation>        </xs:attribute>        <xs:attribute type="xs:string" name="header-row-style">            <xs:annotation><xs:documentation>The header-row-style specifies the style to use in the header of table.</xs:documentation></xs:annotation>        </xs:attribute>                        <!-- not sure this is such a good idea        <xs:attribute type="xs:string" name="hidden-values-map-name">            <xs:annotation><xs:documentation>A map that contains hidden field name/value pairs.             The reason for this is to eliminate the need to code custom forms so that auxiliary, passthru data can be sent to the server.            By doing it this way, more standard forms can be used.</xs:documentation></xs:annotation>        </xs:attribute>        -->    </xs:attributeGroup>    <xs:element name="alt-target">        <xs:complexType>            <xs:attributeGroup ref="attlist.alt-target"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.alt-target">        <xs:attribute type="xs:string" name="use-when" use="required"/>        <xs:attribute type="xs:string" name="target"/>    </xs:attributeGroup>    <xs:element name="auto-fields-service">        <xs:complexType>            <xs:attributeGroup ref="attlist.auto-fields-service"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.auto-fields-service">        <xs:attribute type="xs:string" name="service-name" use="required"/>        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute name="default-field-type" default="edit">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="edit"/>                    <xs:enumeration value="find"/>                    <xs:enumeration value="display"/>                    <xs:enumeration value="hidden"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>    </xs:attributeGroup>    <xs:element name="auto-fields-entity">        <xs:complexType>            <xs:attributeGroup ref="attlist.auto-fields-entity"/>        </xs:complexType>    </xs:element>    <xs:attributeGroup name="attlist.auto-fields-entity">        <xs:attribute type="xs:string" name="entity-name" use="required"/>        <xs:attribute type="xs:string" name="map-name"/>        <xs:attribute name="default-field-type" default="edit">            <xs:simpleType>                <xs:restriction base="xs:token">                    <xs:enumeration value="edit"/>                    <xs:enumeration value="find"/>                    <xs:enumeration value="display"/>                    <xs:enumeration value="hidden"/>                </xs:restriction>            </xs:simpleType>        </xs:attribute>    </xs:attributeGroup>    <xs:element name="sort-order">

⌨️ 快捷键说明

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