mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user