Improved: Optimize the 'get average product rating' method logic
We missed an "on-event-update-area area-target" element in widget-common.xsd
Not sure it'e enough to fix the current issue in StoreForms.xml
Also while at it removes trailing spages in StoreForms.xml (no other changes)
@@ -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>
