You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2008/07/15 11:05:13 UTC

svn commit: r676837 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java

Author: lektran
Date: Tue Jul 15 02:05:13 2008
New Revision: 676837

URL: http://svn.apache.org/viewvc?rev=676837&view=rev
Log:
Changed where the nowTimestamp variable is declared so that it is more widely available

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java?rev=676837&r1=676836&r2=676837&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java Tue Jul 15 02:05:13 2008
@@ -160,6 +160,7 @@
         context.put("security", security);
         context.put("locale", locale);
         context.put("userLogin", userLogin);
+        context.put("nowTimestamp", UtilDateTime.nowTimestamp());
     }
     
     /**
@@ -289,7 +290,6 @@
         if ("true".equals(parameterMap.get("isError"))) {
             context.put("isError", Boolean.TRUE);
         }
-        context.put("nowTimestamp", UtilDateTime.nowTimestamp());
 
         // to preserve these values, push the MapStack
         context.push();