Hi,
I write a web UI in oVirt engine, write a EntityModelDateTimeBoxEditor in my PopupWidget. But my calendar not to select a day. I want to select.
source is :
53 @UiField(provided = true)
54 @Path(value = "validDate.entity")
55 @WithElementId("validDate")
56 EntityModelDateTimeBoxEditor validDateEditor;
57
72 private void initEditors() {
73 ¦ log.info("====================initEditors==============="); //$NON-NLS-1$users
74
75 ¦ validDateEditor = new EntityModelDateTimeBoxEditor();
76 ¦ validDateEditor.getContentWidget().setDateTimeFormat("yyyy-MM-dd"); //$NON-NLS-1$users
77 ¦ validDateEditor.getContentWidget().setValue(new Date());
78 ¦ validDateEditor.getContentWidget().showDateOnly();
79 ¦ validDateEditor.getContentWidget().setEnabled(true);
80
81 ¦}
can you give me some advise?