Author: jleroux
Date: Tue Jan 29 05:59:41 2008
New Revision: 616324
URL:
http://svn.apache.org/viewvc?rev=616324&view=revLog:
Seems that I have to learn regarding XSD...
Modified:
ofbiz/site/dtds/simple-methods.xsd
Modified: ofbiz/site/dtds/simple-methods.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?rev=616324&r1=616323&r2=616324&view=diff==============================================================================
--- ofbiz/site/dtds/simple-methods.xsd (original)
+++ ofbiz/site/dtds/simple-methods.xsd Tue Jan 29 05:59:41 2008
@@ -4947,6 +4947,14 @@
or directly from a value using at least one adjuster to modify the from-field date.
The type of fields or value is Timestamp.
+ Again you can use the flexible string expander here, the
+ ${} syntax and such. It can also do a type conversion,
+ so going from whatever type the source data is in,
+ which would be a string value or whatever the variable
+ type is for a from field, it can convert that to any of
+ these types before setting it in the target field.
+
+
You can also specify a default value in the case that the value evaluates to an empty string or the from-field is
null or empty. Then the default-value will be used.
@@ -4956,6 +4964,9 @@
You may specify a locale or a time-zone else the respective default request value is used.
</xs:documentation>
</xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="attlist.set-calendar"/>
+ </xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.set-calendar">
<xs:attribute type="xs:string" name="field" use="required">