Author: haint
Date: 2011-10-07 07:37:36 -0400 (Fri, 07 Oct 2011)
New Revision: 7687
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
Log:
GTNPORTAL-2155
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
===================================================================
---
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java 2011-10-07
11:27:15 UTC (rev 7686)
+++
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java 2011-10-07
11:37:36 UTC (rev 7687)
@@ -66,11 +66,11 @@
public UIFormDateTimeInput(String name, String bindField, Date date, boolean
isDisplayTime)
{
super(name, bindField, String.class);
+ setDisplayTime(isDisplayTime);
+
WebuiRequestContext requestContext = WebuiRequestContext.getCurrentInstance();
formatPattern(requestContext.getLocale());
-
setDate(date);
- setDisplayTime(isDisplayTime);
}
public UIFormDateTimeInput(String name, String bindField, Date date)
Show replies by date