You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2022/07/01 16:34:46 UTC

[ofbiz-site] branch master updated: Add missing parameter on xsd for widget-form:on-field-event-update-area (OFBIZ-12586)

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 62b3a0e  Add missing parameter on xsd for widget-form:on-field-event-update-area (OFBIZ-12586)
62b3a0e is described below

commit 62b3a0e42a878d38bb82b6dc6fdb14d30792bda3
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Fri Jul 1 18:34:34 2022 +0200

    Add missing parameter on xsd for widget-form:on-field-event-update-area (OFBIZ-12586)
---
 dtds/widget-form.xsd | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index d79fdb3..50c779e 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -1546,6 +1546,11 @@ under the License.
             <xs:documentation>Area to be updated when a field event occurs.</xs:documentation>
         </xs:annotation>
         <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="event-type" use="required">
                 <xs:simpleType>
                     <xs:restriction base="xs:token">
@@ -1554,8 +1559,8 @@ under the License.
                     </xs:restriction>
                 </xs:simpleType>
             </xs:attribute>
-            <xs:attribute type="xs:string" name="area-id" use="required" />
-            <xs:attribute type="xs:string" name="area-target" use="required" />
+            <xs:attribute type="xs:string" name="area-id" />
+            <xs:attribute type="xs:string" name="area-target" />
         </xs:complexType>
     </xs:element>