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.gitThe following commit(s) were added to refs/heads/master by this push:
new 23dfbd3 Improved: updates widget-form.xsd, documentation for area-id & area-target
23dfbd3 is described below
commit 23dfbd3b86d5fc853861ddb3321ac619ce84f581
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Mon Jun 7 19:07:08 2021 +0200
Improved: updates widget-form.xsd, documentation for area-id & area-target
---
dtds/widget-form.xsd | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd
index c989030..93e5d56 100644
--- a/dtds/widget-form.xsd
+++ b/dtds/widget-form.xsd
@@ -597,8 +597,24 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="area-id" type="xs:string" use="required" />
- <xs:attribute name="area-target" type="xs:string" use="required" />
+ <xs:attribute name="area-id" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ Mandatory in classic usage.
+ This has been made optional for template needs (common-theme) and automatic area-id
+ definition, based on calling widget.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="area-target" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ Mandatory in classic usage.
+ This has been made optional for template needs (common-theme) and automatic area-id
+ definition, based on calling widget.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
</xs:element>