svn commit: r728135 - /ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r728135 - /ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml

jleroux@apache.org
Author: jleroux
Date: Fri Dec 19 12:29:14 2008
New Revision: 728135

URL: http://svn.apache.org/viewvc?rev=728135&view=rev
Log:
Fixed one
    value="${bsh: org.ofbiz.base.util.UtilDateTime.nowTimestamp()}"
replacing by
    value="${date:nowTimestamp()}"
   
I let the other for now (it's easy to fix in all OFBiz by replacing the one by the other) for an live example to Adrian who is currently working on JUEL
   

Modified:
    ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml

Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml?rev=728135&r1=728134&r2=728135&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml Fri Dec 19 12:29:14 2008
@@ -23,7 +23,7 @@
 
     <form name="DateTimeFieldsExampleForm" type="single" title="">
         <actions>
-            <set field="exampleDateField" value="${bsh:org.ofbiz.base.util.UtilDateTime.nowTimestamp();}" type="Timestamp"/>
+            <set field="exampleDateField" value="${date:nowTimestamp()}" type="Timestamp"/>
         </actions>
         <!-- ***************** -->
         <!-- ***   field1  *** -->