-
FEATURED COMPONENTS
First time here? Check out the FAQ!
private void jInit() throws Exception
{
datalogSQL = new DatalogSQL();
MaintMode = (String) this.arg.get(ZkConstants.MaintMode);
if (MaintMode != null &&
(MaintMode.equals(ZkConstants.MaintModeEdit)
|| MaintMode.equals(ZkConstants.MaintModeView)))
{
if (DAT_DATE.getValue() != null)
{
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String strDate = sdf.format(dbxEVT_DATE.getValue());
hParam.putString("EVT_DATE",strDate);
}
//datalogSQL.setDAT_DATE((String)arg.get("DAT_DATE"));
datalogSQL.setDAT_TABLE((String)arg.get("DAT_TABLE"));
datalogSQL.setDAT_SOURCE((String)arg.get("DAT_SOURCE"));
datalogSQL.setDAT_MSG1((String)arg.get("DAT_MSG1"));
datalogSQL.setDAT_TYPE((String)arg.get("DAT_TYPE"));
if (datalogSQL.getByKey() == 0)
{
//ZkGuiUtil.showInformation(PageUtil.getPrompt("Record does not exist"));
}
}
}
I think this will be help full for you.
DateTime dateTime = new DateTime();
String strDateTime = dateTime.toString("yyyy-mm-dd hh:mm:ss");
System.out.println(strDateTime);
Output: 2013-11-17 04:11:08
Asked: 2013-07-17 08:50:34 +0800
Seen: 14 times
Last updated: Jul 17 '13
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status