writer.writeAttribute("class", "o_eventEditor_buttonsArea", null);
HtmlCommandButton deleteButton = Components.createButtonFacet(context, dialog, "deleteButton", dialog.getDeleteButtonText());
deleteButton.setStyle(Styles.mergeStyles("float: left", dialog.getDeleteButtonStyle()));
deleteButton.setStyleClass(dialog.getDeleteButtonClass());
deleteButton.encodeAll(context);
HtmlCommandButton okButton = Components.createButtonFacet(context, dialog, "okButton", dialog.getOkButtonText());
okButton.setStyle(dialog.getOkButtonStyle());
okButton.setStyleClass(dialog.getOkButtonClass());
okButton.encodeAll(context);