Working on converting organizationHasPositionHistory to date time with precision NIHVIVO-631

This commit is contained in:
bdc34 2011-01-05 21:24:17 +00:00
parent ec36eb7893
commit 4309c7582e
2 changed files with 23 additions and 0 deletions

View file

@ -456,6 +456,8 @@ public class InputElementFormattingTag extends TagSupport {
if( field != null && field.getEditElement() != null ){
out.print( field.getEditElement().draw(getId(), editConfig, editSub, fmConfig));
}else if( getType() == null ){
log.error("type or editElement must be specified for input element " + getId() );
}else if( getType().equalsIgnoreCase("date") ||
(field != null && field.getRangeDatatypeUri() != null && field.getRangeDatatypeUri().equals(XSD.date.getURI())) ){
//if its a dataprop that should be a string override type and use date picker