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

[ofbiz-site] branch master updated: Updates doc for set-callback in widget-common.xsd

This is an automated email from the ASF dual-hosted git repository.

jleroux 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 f6f890e  Updates doc for set-callback in widget-common.xsd
f6f890e is described below

commit f6f890e02197f847b8cf1256f0b8cd7452302515
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Wed Jul 7 17:16:34 2021 +0200

    Updates doc for set-callback in widget-common.xsd
---
 dtds/widget-common.xsd | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/dtds/widget-common.xsd b/dtds/widget-common.xsd
index 15add6b..f5be46c 100644
--- a/dtds/widget-common.xsd
+++ b/dtds/widget-common.xsd
@@ -526,6 +526,7 @@ under the License.
             <xs:element minOccurs="0" ref="auto-parameters-entity"/>
             <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" />
             <xs:element minOccurs="0" name="image" type="image" />
+            <xs:element minOccurs="0" ref="set-callback"/>
         </xs:sequence>
         <xs:attribute type="xs:string" name="text" />
         <xs:attribute type="xs:string" name="id">
@@ -613,4 +614,24 @@ under the License.
             </xs:simpleType>
         </xs:attribute>
     </xs:complexType>
+    <xs:element name="set-callback">
+        <xs:annotation>
+            <xs:documentation>When actions behind a link are terminated, follow the given information
+                to update a screen</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="area-id" type="xs:string">
+                <xs:annotation>
+                    <xs:documentation>Identification of the area to update. If empty, by default the screen engine
+                        auto resolve it on the first parent referent screen present in the widget hierarchy</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute name="area-target" type="xs:string" use="required" />
+        </xs:complexType>
+    </xs:element>
 </xs:schema>