Author: jleroux
Date: Sat Jun 3 09:56:07 2017
New Revision: 1797479
URL:
http://svn.apache.org/viewvc?rev=1797479&view=revLog:
Updates xsd files
Modified:
ofbiz/site/dtds/entitymodel.xsd
ofbiz/site/dtds/widget-common.xsd
Modified: ofbiz/site/dtds/entitymodel.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/site/dtds/entitymodel.xsd?rev=1797479&r1=1797478&r2=1797479&view=diff==============================================================================
--- ofbiz/site/dtds/entitymodel.xsd (original)
+++ ofbiz/site/dtds/entitymodel.xsd Sat Jun 3 09:56:07 2017
@@ -159,8 +159,6 @@ under the License.
<xs:annotation>
<xs:documentation>
This makes the field NOT NULL on the database (like primary key fields).
- It's possible to use an id-ne similiar field type.
- But rows can be added from outside of ofbiz (e.g. database manager, third party programm, etc).
This uses the ability of a database to set not null constraints.
Defaults to false.
</xs:documentation>
Modified: ofbiz/site/dtds/widget-common.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-common.xsd?rev=1797479&r1=1797478&r2=1797479&view=diff==============================================================================
--- ofbiz/site/dtds/widget-common.xsd (original)
+++ ofbiz/site/dtds/widget-common.xsd Sat Jun 3 09:56:07 2017
@@ -294,6 +294,24 @@ under the License.
</xs:restriction>
</xs:simpleType>
</xs:attribute>
+ <xs:attribute name="set-if-empty" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation>
+ Controls if the target field can be set to an empty value. The meaning of "empty" depends on the Java data type.
+ Defaults to "true".
+ Optional.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="set-if-null" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation>
+ Controls if the target field can be set to null when the from attribute evaluates to null.
+ Defaults to "true".
+ Optional.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="property-map" substitutionGroup="AllActions">