This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
251 lines
11 KiB
XML
251 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://ofbiz.apache.org/Widget-Tree" targetNamespace="http://ofbiz.apache.org/Widget-Tree">
|
|
<xs:include schemaLocation="http://ofbiz.apache.org/dtds/widget-common.xsd" />
|
|
<xs:element name="trees">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" ref="tree"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="tree">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" ref="node" />
|
|
</xs:sequence>
|
|
<xs:attribute type="xs:string" name="name" use="required" />
|
|
<xs:attribute type="xs:string" name="root-node-name" use="required" />
|
|
<xs:attribute name="default-render-style" default="simple">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="simple" />
|
|
<xs:enumeration value="follow-trail" />
|
|
<xs:enumeration value="show-peers" />
|
|
<xs:enumeration value="expand-collapse" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
<xs:attribute type="xs:string" name="default-wrap-style" />
|
|
<xs:attribute type="xs:string" name="expand-collapse-request" />
|
|
<xs:attribute type="xs:string" name="trail-name" />
|
|
<xs:attribute type="xs:string" name="open-depth" default="0" />
|
|
<xs:attribute type="xs:string" name="post-trail-open-depth" default="0" />
|
|
<xs:attribute type="xs:string" name="entity-name" />
|
|
<xs:attribute name="force-child-check" default="true">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="true" />
|
|
<xs:enumeration value="false" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="node">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="condition" type="ConditionRootType" minOccurs="0" />
|
|
<xs:choice minOccurs="0">
|
|
<xs:element ref="actions" />
|
|
<xs:element ref="entity-one" />
|
|
<xs:element ref="service" />
|
|
</xs:choice>
|
|
<xs:choice minOccurs="0">
|
|
<xs:element ref="include-screen" />
|
|
<xs:element ref="label" />
|
|
<xs:element ref="link" />
|
|
</xs:choice>
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="sub-node" />
|
|
</xs:sequence>
|
|
<xs:attribute type="xs:string" name="name" use="required" />
|
|
<xs:attribute type="xs:string" name="wrap-style" />
|
|
<xs:attribute name="render-style">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="simple" />
|
|
<xs:enumeration value="follow-trail" />
|
|
<xs:enumeration value="show-peers" />
|
|
<xs:enumeration value="expand-collapse" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
<xs:attribute type="xs:string" name="entry-name" />
|
|
<xs:attribute type="xs:string" name="entity-name" />
|
|
<xs:attribute type="xs:string" name="join-field-name" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="sub-node">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:choice>
|
|
<xs:element ref="actions" />
|
|
<xs:element ref="entity-and" />
|
|
<xs:element ref="service" />
|
|
<xs:element ref="entity-condition" />
|
|
</xs:choice>
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="out-field-map" />
|
|
</xs:sequence>
|
|
<xs:attribute type="xs:string" name="node-name" use="required" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="include-screen">
|
|
<xs:complexType>
|
|
<xs:attribute type="xs:string" name="name" use="required" />
|
|
<xs:attribute type="xs:string" name="location" use="required" />
|
|
<xs:attribute name="share-scope" default="false">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="true" />
|
|
<xs:enumeration value="false" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="label">
|
|
<xs:complexType mixed="true">
|
|
<xs:attribute type="xs:string" name="text" />
|
|
<xs:attribute type="xs:string" name="id" />
|
|
<xs:attribute type="xs:string" name="style" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="link" type="link"/>
|
|
<xs:element name="actions">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AllActions"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="service">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="field-map" />
|
|
</xs:sequence>
|
|
<xs:attribute type="xs:string" name="service-name" use="required" />
|
|
<xs:attribute type="xs:string" name="result-map" />
|
|
<xs:attribute type="xs:string" name="auto-field-map" default="true">
|
|
<xs:annotation>
|
|
<xs:documentation>This can be "true", "false" or the name of a Map in the context to use as the source Map for the service context.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute type="xs:string" name="result-map-list" />
|
|
<xs:attribute type="xs:string" name="result-map-value" />
|
|
<xs:attribute type="xs:string" name="value" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="entity-and">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" ref="field-map" />
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="select-field" />
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="order-by" />
|
|
</xs:sequence>
|
|
<xs:attribute name="entity-name" type="xs:string" use="required" />
|
|
<xs:attribute name="list" type="xs:string" />
|
|
<xs:attribute name="use-cache" 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="filter-by-date" default="false">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="true" />
|
|
<xs:enumeration value="false" />
|
|
<xs:enumeration value="by-name" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
<xs:attribute name="result-set-type" default="scroll">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="forward" />
|
|
<xs:enumeration value="scroll" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="entity-condition">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:choice>
|
|
<xs:element ref="condition-expr" />
|
|
<xs:element ref="condition-list" />
|
|
</xs:choice>
|
|
<xs:element minOccurs="0" ref="having-condition-list" />
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="select-field" />
|
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="order-by" />
|
|
<xs:choice minOccurs="0">
|
|
<xs:element ref="limit-range" />
|
|
<xs:element ref="limit-view" />
|
|
<xs:element ref="use-iterator" />
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
<xs:attribute name="entity-name" type="xs:string" use="required" />
|
|
<xs:attribute name="use-cache" 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="filter-by-date" default="false">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="true" />
|
|
<xs:enumeration value="false" />
|
|
<xs:enumeration value="by-name" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
<xs:attribute name="distinct" 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="delegator-name" type="xs:string" />
|
|
<xs:attribute name="list" type="xs:string" />
|
|
<xs:attribute name="result-set-type" default="scroll">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:token">
|
|
<xs:enumeration value="forward" />
|
|
<xs:enumeration value="scroll" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="out-field-map">
|
|
<xs:complexType>
|
|
<xs:attribute type="xs:string" name="field-name" use="required" />
|
|
<xs:attribute type="xs:string" name="to-field-name" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema> |