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 39c660c Improved: Optimize the 'get average product rating' method
logic (OFBIZ-12680)
39c660c is described below
commit 39c660ce82e4fd583103478dc106b21f0125f6a0
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Aug 30 16:13:30 2022 +0200
Improved: Optimize the 'get average product rating' method logic
(OFBIZ-12680)
We missed an "on-event-update-area area-target" element in widget-common.xsd
Not sure it's enough to fix the current issue in StoreForms.xml
---
dtds/widget-common.xsd | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/dtds/widget-common.xsd b/dtds/widget-common.xsd
index c68f25b..b16f890 100644
--- a/dtds/widget-common.xsd
+++ b/dtds/widget-common.xsd
@@ -524,7 +524,14 @@ under the License.
</xs:element>
<xs:element name="auto-parameters-form">
<xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="exclude"
/>
+ </xs:sequence>
<xs:attribute name="form-name" type="xs:string"/>
+ <xs:annotation>
+ <xs:documentation>See OFBIZ-12684.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="exclude">
@@ -646,4 +653,24 @@ under the License.
<xs:attribute name="area-target" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
+ <xs:element name="on-event-update-area area-target">
+ <xs:annotation>
+ <xs:documentation>Propagate current form fields as parameters to
the paginate or submit action link
+ (for instance in modal "tunnel" processes), see
OFBIZ-12684</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded"
ref="auto-parameters-form"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded"
ref="event-type"/>
+ </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>