IDEMPIERE-233 Minitable implementation on zk doesn't manage editable timestamp properly

This commit is contained in:
Carlos Ruiz 2012-04-18 09:14:52 -05:00
parent e118afeadf
commit 98712527bd
1 changed files with 2 additions and 1 deletions

View File

@ -593,7 +593,8 @@ public class WListItemRenderer implements ListitemRenderer, EventListener, Listi
} }
else if (source instanceof Datebox) 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) else if (source instanceof Textbox)
{ {