Author: jleroux
Date: Tue Jan 29 05:58:53 2008
New Revision: 616323
URL:
http://svn.apache.org/viewvc?rev=616323&view=revLog:
Another bug fix, but set-calendar still not behave like set regarding auto-completion. Not sure why yet, will see later.
Modified:
ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd
Modified: ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd?rev=616323&r1=616322&r2=616323&view=diff==============================================================================
--- ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd (original)
+++ ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd Tue Jan 29 05:58:53 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">