* Base Class of Entities
* Interfacing TemplateHashModel and TemplateModelRoot to be freemarker compliant
*
- * @author rk
- * @version 29.6.1999
+ * @version $Revision: 1.8 $ $Date: 2002/06/28 22:56:37 $
+ * @author $Author: mh $
+ *
+ * $Log: Entity.java,v $
+ * Revision 1.8 2002/06/28 22:56:37 mh
+ * fix so that webdb_lastchange appears in contentlist.template as it should
+ *
+ * Revision 1.7 2002/06/28 20:35:38 mh
+ * use some cvs macros/id's
+ *
*
*/
}
else if (field.equals("webdb_lastchange_formatted"))
{
- if (hasValueForField("webdblast_change"))
+ if (hasValueForField("webdb_lastchange"))
returnValue=StringUtil.dateToReadableDate(getValue("webdb_lastchange"));
}
+ else if (field.equals("webdb_create_dc"))
+ {
+ if (hasValueForField("webdb_create"))
+ returnValue=StringUtil.webdbdateToDCDate(getValue("webdb_create"));
+ }
else
returnValue = (String)theValuesHash.get(field);
}
return returnValue;
}
-
public boolean hasValueForField(String field)
{
if (theValuesHash!=null)