Fix for Date Component issue identified in AWC-395

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-05 09:37:54 +00:00
parent 0ac5e88d9a
commit af2c1603cf

View File

@@ -216,8 +216,7 @@ public class UIProperty extends PropertySheetItem
control = (UIInput)context.getApplication().
createComponent(ComponentConstants.JAVAX_FACES_INPUT);
control.setRendererType(RepoConstants.ALFRESCO_FACES_DATE_PICKER_RENDERER);
control.getAttributes().put("startYear", new Integer(1970));
control.getAttributes().put("yearCount", new Integer(50));
control.getAttributes().put("yearCount", new Integer(30));
control.getAttributes().put("showTime", Boolean.valueOf(true));
control.getAttributes().put("style", "margin-right: 7px;");
}
@@ -226,8 +225,7 @@ public class UIProperty extends PropertySheetItem
control = (UIInput)context.getApplication().
createComponent(ComponentConstants.JAVAX_FACES_INPUT);
control.setRendererType(RepoConstants.ALFRESCO_FACES_DATE_PICKER_RENDERER);
control.getAttributes().put("startYear", new Integer(1970));
control.getAttributes().put("yearCount", new Integer(50));
control.getAttributes().put("yearCount", new Integer(30));
control.getAttributes().put("style", "margin-right: 7px;");
}
else