This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git
The following commit(s) were added to refs/heads/master by this push:
new 277f09a Implemented: Add group option on drow-down in xml screen form
(OFBIZ-13157) Synchronized widget-form.xsd to add group-options description
277f09a is described below
commit 277f09a8cc499b9444b1bdacf1f2060e133dbe22
Author: Nicolas Malin <[email protected]>
AuthorDate: Mon Oct 28 10:07:48 2024 +0100
Implemented: Add group option on drow-down in xml screen form (OFBIZ-13157)
Synchronized widget-form.xsd to add group-options description
---
dtds/widget-form.xsd | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index 09b382f..76e9cda 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -873,6 +873,7 @@ under the License.
<xs:element name="check" substitutionGroup="AllFields">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="group-options" />
<xs:element ref="entity-options" />
<xs:element ref="list-options" />
<xs:element ref="option" />
@@ -1100,6 +1101,7 @@ under the License.
<xs:sequence>
<xs:element ref="auto-complete" minOccurs="0" maxOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="group-options" />
<xs:element ref="entity-options" />
<xs:element ref="list-options" />
<xs:element ref="option" />
@@ -1383,6 +1385,7 @@ under the License.
<xs:element name="radio" substitutionGroup="AllFields">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="group-options" />
<xs:element ref="entity-options" />
<xs:element ref="list-options" />
<xs:element ref="option" />
@@ -1671,6 +1674,26 @@ under the License.
<xs:attribute type="xs:string" name="field-name" use="required" />
</xs:complexType>
</xs:element>
+ <xs:element name="group-options">
+ <xs:annotation>
+ <xs:documentation>group the options </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="group-options" />
+ <xs:element ref="entity-options" />
+ <xs:element ref="list-options" />
+ <xs:element ref="option" />
+ </xs:choice>
+ <xs:attribute type="xs:string" name="id" />
+ <xs:attribute type="xs:string" name="widget-style" />
+ <xs:attribute type="xs:string" name="description"
default="${description}">
+ <xs:annotation>
+ <xs:documentation>Will be presented to the user with field
values substituted using the ${} syntax.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
<xs:element name="in-place-editor">
<xs:annotation>
<xs:documentation>Enables in place editon for the display
field.</xs:documentation>