You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2015/02/26 17:16:13 UTC
svn commit: r1662488 [2/6] - in /ofbiz/branches/release14.12:
applications/content/src/org/ofbiz/content/cms/
applications/content/src/org/ofbiz/content/content/
applications/content/src/org/ofbiz/content/data/
applications/content/src/org/ofbiz/conten...
Modified: ofbiz/branches/release14.12/framework/widget/dtd/widget-form.xsd
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/widget/dtd/widget-form.xsd?rev=1662488&r1=1662487&r2=1662488&view=diff
==============================================================================
--- ofbiz/branches/release14.12/framework/widget/dtd/widget-form.xsd (original)
+++ ofbiz/branches/release14.12/framework/widget/dtd/widget-form.xsd Thu Feb 26 16:16:11 2015
@@ -18,16 +18,278 @@ specific language governing permissions
under the License.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:include schemaLocation="http://ofbiz.apache.org/dtds/widget-common.xsd" />
<!-- ================== FORMS ==================== -->
<xs:element name="forms">
<xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="form"/>
+ <xs:element ref="grid"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="form">
+ <xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" ref="form"/>
+ <xs:element minOccurs="0" ref="actions" />
+ <xs:element minOccurs="0" ref="row-actions" />
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="alt-row-style" />
+ <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" maxOccurs="unbounded" ref="on-event-update-area" />
+ <xs:element minOccurs="0" ref="sort-order" />
</xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="type">
+ <xs:annotation>
+ <xs:documentation>The form type is always required unless you are extending another form.</xs:documentation>
+ </xs:annotation>
+ <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 name="target" type="xs:string" />
+ <xs:attribute name="target-window" type="xs:string" />
+ <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="id" type="xs:string" />
+ <xs:attribute name="style" type="xs:string" />
+ <xs:attribute name="focus-field-name" type="xs:string" />
+ <xs:attribute name="title" type="xs:string" />
+ <xs:attribute name="tooltip" type="xs:string" />
+ <xs:attribute name="list-name" type="xs:string">
+ <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 name="list-entry-name" type="xs:string">
+ <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>
+ <!-- this is now deprecated, never made sense to separate anyway; use list-name instead <xs:attribute type="xs:string" name="list-iterator-name"/> -->
+ <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="sort-field-parameter-name">
+ <xs:annotation>
+ <xs:documentation>
+ The name of the request parameter that is used for specifying the sorted column. This is required when you
+ have more than one list on a screen - each list must use its own sort field parameter. Defaults to "sortField".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="default-sort-field-style">
+ <xs:annotation>
+ <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order".</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="default-sort-field-asc-style">
+ <xs:annotation>
+ <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order-asc".</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="default-sort-field-desc-style">
+ <xs:annotation>
+ <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order-desc".</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="paginate" default="${paginate}">
+ <xs:annotation>
+ <xs:documentation>Indicate if this form is paginated or not, true by default.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <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="override-list-size">
+ <xs:annotation>
+ <xs:documentation>The total number of rows in the original list (used for pagination). If not specified, the size of the list will be used. Accepts ${} notation.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="paginate-first-label">
+ <xs:annotation>
+ <xs:documentation>Text to display for the [First] button in a form with pagination. Defaults to the CommonFirst label defined in CommonUiLabels.xml. 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 the CommonPrevious label defined in CommonUiLabels.xml. 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 the CommonNext label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="paginate-last-label">
+ <xs:annotation>
+ <xs:documentation>Text to display for the [Last] button in a form with pagination. Defaults to the CommonLast label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="paginate-style">
+ <xs:annotation>
+ <xs:documentation>CSS style to use for the whole pager in a form with pagination. Defaults to "nav-pager".</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 name="group-columns" 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:integer" name="view-size">
+ <xs:annotation>
+ <xs:documentation>The number of items to display per page</xs:documentation>
+ </xs:annotation>
+ </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="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="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>
+ <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 name="client-autocomplete-fields" default="true">
+ <xs:annotation>
+ <xs:documentation>Tells the browser whether or not to try and autocomplete with values previously entered. Default to true.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true" />
+ <xs:enumeration value="false" />
+ </xs:restriction>
+ </xs:simpleType>
+ </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:complexType>
</xs:element>
- <xs:element name="form">
+ <xs:element name="grid">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="actions" />
@@ -905,219 +1167,135 @@ under the License.
<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:integer" name="size" default="1" />
- <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:attribute type="xs:integer" name="text-size">
- <xs:annotation>
- <xs:documentation>Specifies the size of the field (as a number of characters), when the text to display exceed the given size it is truncated and add the complete text as a hint</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="file" substitutionGroup="AllFields">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" ref="sub-hyperlink" />
- </xs:sequence>
- <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="client-autocomplete-field" default="true">
- <xs:annotation>
- <xs:documentation>Tells the browser whether or not to try and autocomplete with values previously entered. Default to true.</xs:documentation>
- </xs:annotation>
- <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="hidden" substitutionGroup="AllFields">
- <xs:complexType>
- <xs:attribute type="xs:string" name="value" />
- </xs:complexType>
- </xs:element>
- <xs:element name="hyperlink" substitutionGroup="AllFields">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" ref="auto-parameters-service"/>
- <xs:element minOccurs="0" ref="auto-parameters-entity"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" />
- </xs:sequence>
- <xs:attribute name="also-hidden" default="true">
- <xs:annotation>
- <xs:documentation>If set to true, an hidden form field is also rendered, with the name of the field and its content.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="link-type" default="auto">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="auto">
- <xs:annotation>
- <xs:documentation>If selected the hidden-form type will be used if the url-mode is intra-app and the request specified has an event, otherwise the anchor type will be used.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="anchor" />
- <xs:enumeration value="hidden-form" />
- </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:attribute type="xs:string" name="alternate">
- <xs:annotation>
- <xs:documentation>Alternate text if the image is not found at image-location</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute type="xs:string" name="image-title">
- <xs:annotation>
- <xs:documentation>Use as a title for the HTML img tag</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute type="xs:string" name="image-location" />
- <xs:attribute name="request-confirmation" default="false">
- <xs:annotation>
- <xs:documentation>If true then the user is presented with a dialog box, if confirmation-message is empty, use default</xs:documentation>
- </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="current" default="first-in-list">
<xs:simpleType>
<xs:restriction base="xs:token">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
+ <xs:enumeration value="first-in-list" />
+ <xs:enumeration value="selected" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="confirmation-message" type="xs:string">
+ <xs:attribute type="xs:string" name="no-current-selected-key">
<xs:annotation>
- <xs:documentation>The message displayed in confirmation box</xs:documentation>
+ <xs:documentation>The key to mark as selected when there is no current entry value.</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="parameters-map" type="xs:string">
+ <xs:attribute type="xs:integer" name="size" default="1" />
+ <xs:attribute type="xs:string" name="current-description" />
+ <xs:attribute type="xs:integer" name="other-field-size" default="0">
<xs:annotation>
- <xs:documentation>A Map in the context that will be used as additional name/value pairs.</xs:documentation>
+ <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:attribute type="xs:integer" name="size">
+ <xs:attribute type="xs:integer" name="text-size">
<xs:annotation>
<xs:documentation>Specifies the size of the field (as a number of characters), when the text to display exceed the given size it is truncated and add the complete text as a hint</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="parameter">
- <xs:complexType>
- <xs:attribute type="xs:string" name="param-name" use="required" />
- <xs:attribute type="xs:string" name="from-field" />
- <xs:attribute type="xs:string" name="value" />
- </xs:complexType>
- </xs:element>
- <xs:element name="auto-parameters-service">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
- </xs:sequence>
- <xs:attribute name="service-name" type="xs:string">
- <xs:annotation>
- <xs:documentation>The service name used to resolve parameters. If empty, use form defaultServiceName. Flexible string allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="send-if-empty" 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="auto-parameters-entity">
+ <xs:element name="file" substitutionGroup="AllFields">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
+ <xs:element minOccurs="0" ref="sub-hyperlink" />
</xs:sequence>
- <xs:attribute name="entity-name" type="xs:string">
- <xs:annotation>
- <xs:documentation>The entity name used to resolve parameters. If empty use form defaultEntityName attribute. Flexible string allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="include" default="pk">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="pk"/>
- <xs:enumeration value="nonpk"/>
- <xs:enumeration value="all"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="send-if-empty" default="true">
+ <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="client-autocomplete-field" default="true">
+ <xs:annotation>
+ <xs:documentation>Tells the browser whether or not to try and autocomplete with values previously entered. Default to true.</xs:documentation>
+ </xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
- <xs:enumeration value="true"/>
- <xs:enumeration value="false"/>
+ <xs:enumeration value="true" />
+ <xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="exclude">
+ <xs:element name="hidden" substitutionGroup="AllFields">
<xs:complexType>
- <xs:attribute name="field-name" type="xs:string" use="required"/>
+ <xs:attribute type="xs:string" name="value" />
</xs:complexType>
</xs:element>
+ <xs:complexType name="hyperlink">
+ <xs:complexContent>
+ <xs:extension base="link">
+ <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 name="request-confirmation" default="false">
+ <xs:annotation>
+ <xs:documentation>If true then the user is presented with a dialog box, if confirmation-message is empty, use default</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true" />
+ <xs:enumeration value="false" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="confirmation-message" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>The message displayed in confirmation box</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="also-hidden" default="true">
+ <xs:annotation>
+ <xs:documentation>If set to true, an hidden form field is also rendered, with the name of the field and its content.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true" />
+ <xs:enumeration value="false" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <!-- These attributes have been replaced by the image element -->
+ <xs:attribute type="xs:string" name="alternate">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the image element.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="image-title">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the image element.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute type="xs:string" name="image-location">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the image element.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="target-type" default="intra-app">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation>
+ </xs:annotation>
+ <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:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="hyperlink" type="hyperlink" substitutionGroup="AllFields"/>
<xs:element name="ignored" substitutionGroup="AllFields">
<xs:complexType/>
</xs:element>
@@ -1759,46 +1937,39 @@ under the License.
<xs:attribute name="cols" type="xs:positiveInteger" default="40" />
</xs:complexType>
</xs:element>
- <xs:element name="sub-hyperlink">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" ref="auto-parameters-service"/>
- <xs:element minOccurs="0" ref="auto-parameters-entity"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" />
- </xs:sequence>
- <xs:attribute type="xs:string" name="use-when" />
- <xs:attribute type="xs:string" name="link-style" />
- <xs:attribute name="link-type" default="auto">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="auto">
- <xs:annotation>
- <xs:documentation>If selected the hidden-form type will be used if the url-mode is intra-app and the request specified has an event, otherwise the anchor type will be used.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="anchor" />
- <xs:enumeration value="hidden-form" />
- </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:attribute type="xs:string" name="description" />
- <xs:attribute type="xs:string" name="target-window" />
- </xs:complexType>
- </xs:element>
+ <xs:complexType name="sub-hyperlink">
+ <xs:complexContent>
+ <xs:extension base="link">
+ <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="use-when" />
+ <xs:attribute name="target-type" default="intra-app">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation>
+ </xs:annotation>
+ <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="link-style" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>Deprecated - use the style attribute.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="sub-hyperlink" type="sub-hyperlink"/>
<!-- ================== ACTIONS ==================== -->
- <xs:element name="AllActions" abstract="true"/>
<xs:element name="actions">
<xs:complexType>
<xs:sequence>
@@ -1813,42 +1984,6 @@ under the License.
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="property-map" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="resource" use="required" />
- <xs:attribute type="xs:string" name="map-name" use="required" />
- <xs:attribute name="global" 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="property-to-field" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="resource" use="required" />
- <xs:attribute type="xs:string" name="property" use="required" />
- <xs:attribute type="xs:string" name="field" use="required" />
- <xs:attribute type="xs:string" name="default" />
- <xs:attribute name="no-locale" 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="arg-list-name" />
- </xs:complexType>
- </xs:element>
- <xs:element name="script" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="location" use="required" />
- </xs:complexType>
- </xs:element>
<xs:element name="service" substitutionGroup="AllActions">
<xs:complexType>
<xs:sequence>
@@ -1873,44 +2008,7 @@ under the License.
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="set" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field" use="required" />
- <xs:attribute type="xs:string" name="from-field" />
- <xs:attribute type="xs:string" name="value" />
- <xs:attribute type="xs:string" name="default-value" />
- <xs:attribute name="global" 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="type" default="String">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="PlainString" />
- <xs:enumeration value="String" />
- <xs:enumeration value="BigDecimal" />
- <xs:enumeration value="Double" />
- <xs:enumeration value="Float" />
- <xs:enumeration value="List" />
- <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:enumeration value="NewList" />
- <xs:enumeration value="NewMap" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
-
+ <xs:element name="call-parent-actions" substitutionGroup="AllActions" />
<xs:element name="entity-and" substitutionGroup="AllActions">
<xs:complexType>
<xs:sequence>
@@ -1923,8 +2021,7 @@ under the License.
<xs:element ref="use-iterator" />
</xs:choice>
</xs:sequence>
- <xs:attribute name="entity-name" type="xs:string" use="required" />
- <xs:attribute name="list" type="xs:string" use="optional" />
+ <xs:attribute type="xs:string" name="entity-name" use="required" />
<xs:attribute name="use-cache" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">
@@ -1942,6 +2039,7 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
+ <xs:attribute type="xs:string" name="list" />
<xs:attribute name="result-set-type" default="scroll">
<xs:simpleType>
<xs:restriction base="xs:token">
@@ -1969,8 +2067,7 @@ under the License.
<xs:element ref="use-iterator" />
</xs:choice>
</xs:sequence>
- <xs:attribute name="entity-name" type="xs:string" use="required" />
- <xs:attribute name="list" type="xs:string" use="optional" />
+ <xs:attribute type="xs:string" name="entity-name" use="required" />
<xs:attribute name="use-cache" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">
@@ -1996,7 +2093,8 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="delegator-name" />
+ <xs:attribute type="xs:string" name="delegator-name" />
+ <xs:attribute type="xs:string" name="list" />
<xs:attribute name="result-set-type" default="scroll">
<xs:simpleType>
<xs:restriction base="xs:token">
@@ -2007,172 +2105,4 @@ under the License.
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="entity-one" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="field-map" />
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="select-field" />
- </xs:sequence>
- <xs:attribute type="xs:string" name="entity-name" use="required" />
- <xs:attribute type="xs:string" name="value-field" />
- <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="auto-field-map" 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="condition-expr">
- <xs:complexType>
- <xs:attribute name="field-name" type="xs:string" use="required" />
- <xs:attribute name="operator" default="equals">
- <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="in" />
- <xs:enumeration value="between" />
- <xs:enumeration value="like" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="from-field" type="xs:string" />
- <xs:attribute name="value" type="xs:string" />
- <xs:attribute name="ignore-if-null" 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="ignore-if-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="ignore-case" 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="ignore" default="false">
- <xs:annotation>
- <xs:documentation>
- Ignore the condition if flag is true.
- Defaults to false.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="condition-list">
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="condition-expr" />
- <xs:element ref="condition-list" />
- <xs:element ref="condition-object" />
- </xs:choice>
- <xs:attribute name="combine" default="and">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="and" />
- <xs:enumeration value="or" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="condition-object">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field" use="required" />
- </xs:complexType>
- </xs:element>
- <xs:element name="field-map">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field-name" use="required" />
- <xs:attribute type="xs:string" name="from-field" />
- <xs:attribute type="xs:string" name="value" />
- </xs:complexType>
- </xs:element>
- <xs:element name="having-condition-list">
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="condition-expr" />
- <xs:element ref="condition-list" />
- <xs:element ref="condition-object" />
- </xs:choice>
- <xs:attribute name="combine" default="and">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="and" />
- <xs:enumeration value="or" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="limit-range">
- <xs:complexType>
- <xs:attribute name="start" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Should resolve into a non-negative integer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="size" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Should resolve into a non-negative integer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="limit-view">
- <xs:complexType>
- <xs:attribute name="view-index" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Should resolve into a non-negative integer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="view-size" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Should resolve into a positive integer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="use-iterator" />
- <xs:element name="order-by">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field-name" use="required" />
- </xs:complexType>
- </xs:element>
- <xs:element name="select-field">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field-name" use="required" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="call-parent-actions" substitutionGroup="AllActions" />
</xs:schema>
Modified: ofbiz/branches/release14.12/framework/widget/dtd/widget-menu.xsd
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/widget/dtd/widget-menu.xsd?rev=1662488&r1=1662487&r2=1662488&view=diff
==============================================================================
--- ofbiz/branches/release14.12/framework/widget/dtd/widget-menu.xsd (original)
+++ ofbiz/branches/release14.12/framework/widget/dtd/widget-menu.xsd Thu Feb 26 16:16:11 2015
@@ -158,64 +158,29 @@ under the License.
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="image">
- <xs:complexType mixed="true">
- <xs:attribute type="xs:string" name="src" />
- <xs:attribute type="xs:string" name="id" />
- <xs:attribute type="xs:string" name="style" />
- <xs:attribute type="xs:string" name="width" />
- <xs:attribute type="xs:string" name="height" />
- <xs:attribute type="xs:string" name="border" />
- <xs:attribute name="url-mode" default="content">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="ofbiz" />
- <xs:enumeration value="content" />
- <xs:enumeration value="raw" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
+ <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="link">
+ <xs:element name="entity-and" substitutionGroup="AllActions">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" ref="auto-parameters-service"/>
- <xs:element minOccurs="0" ref="auto-parameters-entity"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" />
- <xs:element minOccurs="0" ref="image" />
+ <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:choice minOccurs="0">
+ <xs:element ref="limit-range" />
+ <xs:element ref="limit-view" />
+ <xs:element ref="use-iterator" />
+ </xs:choice>
</xs:sequence>
- <xs:attribute type="xs:string" name="text" />
- <xs:attribute type="xs:string" name="id" />
- <xs:attribute type="xs:string" name="style" />
- <xs:attribute type="xs:string" name="name" />
- <xs:attribute type="xs:string" name="target" />
- <xs:attribute type="xs:string" name="target-window" />
- <xs:attribute type="xs:string" name="prefix" />
- <xs:attribute name="link-type" default="auto">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="auto">
- <xs:annotation>
- <xs:documentation>If selected the hidden-form type will be used if the url-mode is intra-app and the request specified has an event, otherwise the anchor type will be used.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="anchor" />
- <xs:enumeration value="hidden-form" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="url-mode" 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="full-path" default="false">
+ <xs:attribute type="xs:string" name="entity-name" use="required" />
+ <xs:attribute name="use-cache" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true" />
@@ -223,117 +188,45 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="secure" default="false">
+ <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="encode" default="false">
+ <xs:attribute type="xs:string" name="list" use="required" />
+ <xs:attribute name="result-set-type" default="scroll">
<xs:simpleType>
<xs:restriction base="xs:token">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
+ <xs:enumeration value="forward" />
+ <xs:enumeration value="scroll" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="request-confirmation" default="false">
- <xs:annotation>
- <xs:documentation>If true then the user is presented with a dialog box requesting confirmation prior to proceeding</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="confirmation-message" type="xs:string">
- <xs:annotation>
- <xs:documentation>The message displayed when request-confirm is set to true</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="parameters-map" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="parameter">
- <xs:complexType>
- <xs:attribute type="xs:string" name="param-name" use="required" />
- <xs:attribute type="xs:string" name="from-field" />
- <xs:attribute type="xs:string" name="value" />
</xs:complexType>
</xs:element>
- <xs:element name="auto-parameters-service">
+ <xs:element name="entity-condition" substitutionGroup="AllActions">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="condition-expr" />
+ <xs:element ref="condition-list" />
+ <xs:element ref="condition-object" />
+ </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="service-name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>The service name used to resolve parameters. Flexible string allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="send-if-empty" 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="auto-parameters-entity">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"/>
- </xs:sequence>
- <xs:attribute name="entity-name" type="xs:string">
- <xs:annotation>
- <xs:documentation>The entity name used to resolve parameters. If empty try use menu defaultEntityName attribute. Flexible string allowed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="include" default="pk">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="pk"/>
- <xs:enumeration value="nonpk"/>
- <xs:enumeration value="all"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="send-if-empty" 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="exclude">
- <xs:complexType>
- <xs:attribute name="field-name" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
-
- <!-- ================ ACTIONS ================ -->
- <xs:element name="AllActions" abstract="true"/>
- <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="property-map" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="resource" use="required" />
- <xs:attribute type="xs:string" name="map-name" use="required" />
- <xs:attribute name="global" default="false">
+ <xs:attribute type="xs:string" name="entity-name" use="required" />
+ <xs:attribute name="use-cache" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true" />
@@ -341,37 +234,16 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="property-to-field" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="resource" use="required" />
- <xs:attribute type="xs:string" name="property" use="required" />
- <xs:attribute type="xs:string" name="field" use="required" />
- <xs:attribute type="xs:string" name="default" />
- <xs:attribute name="no-locale" default="false">
+ <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 type="xs:string" name="arg-list-name" />
- </xs:complexType>
- </xs:element>
- <xs:element name="script" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="location" use="required" />
- </xs:complexType>
- </xs:element>
- <xs:element name="set" substitutionGroup="AllActions">
- <xs:complexType>
- <xs:attribute type="xs:string" name="field" use="required" />
- <xs:attribute type="xs:string" name="from-field" />
- <xs:attribute type="xs:string" name="value" />
- <xs:attribute type="xs:string" name="default-value" />
- <xs:attribute name="global" default="false">
+ <xs:attribute name="distinct" default="false">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true" />
@@ -379,42 +251,13 @@ under the License.
</xs:restriction>
</xs:simpleType>
</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="BigDecimal" />
- <xs:enumeration value="Double" />
- <xs:enumeration value="Float" />
- <xs:enumeration value="List" />
- <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:enumeration value="NewList" />
- <xs:enumeration value="NewMap" />
- </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:attribute type="xs:string" name="delegator-name" />
+ <xs:attribute type="xs:string" name="list" use="required" />
+ <xs:attribute name="result-set-type" default="scroll">
<xs:simpleType>
<xs:restriction base="xs:token">
- <xs:enumeration value="screen" />
- <xs:enumeration value="user" />
- <xs:enumeration value="application" />
+ <xs:enumeration value="forward" />
+ <xs:enumeration value="scroll" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>