return nameField;
}
private UIComponent createDateTimeFields(FacesContext context, final EventEditorDialog dialog, final String idPrefix) {
DateChooser dateField = Components.getOrCreateFacet(context, dialog, DateChooser.COMPONENT_TYPE, idPrefix + "DateField", DateChooser.class);
HtmlOutputText nbsp = Components.createOutputText(context, HTML.NBSP_ENTITY, false);
UIInput timeField = Components.getOrCreateFacet(context, dialog, HtmlInputText.COMPONENT_TYPE, idPrefix + "TimeField", UIInput.class);
String timeCls = Styles.mergeClassNames((String) timeField.getAttributes().get("styleClass"), "o_eventEditor_timeField");
timeField.getAttributes().put("styleClass", timeCls);