You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/12/19 21:29:15 UTC

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

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  *** -->