From 98712527bd0c122cdc0eb67162736ce790f4eab5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 18 Apr 2012 09:14:52 -0500 Subject: [PATCH] IDEMPIERE-233 Minitable implementation on zk doesn't manage editable timestamp properly --- .../src/org/adempiere/webui/component/WListItemRenderer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java index 7523572a40..95b83b4eff 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WListItemRenderer.java @@ -593,7 +593,8 @@ public class WListItemRenderer implements ListitemRenderer, EventListener, Listi } else if (source instanceof Datebox) { - value = ((Datebox)source).getValue(); + if (((Datebox)source).getValue() != null) + value = new Timestamp(((Datebox)source).getValue().getTime()); } else if (source instanceof Textbox) {