participantsTableData = new DENParticipantsTableDataModel(participants);
tableManageParticipants = denManager.createParticipantsTable(ureq, getWindowControl(), getTranslator(), this, participantsTableData);
formManageParticipants = new DENManageParticipantsForm(ureq, getWindowControl());
formManageParticipants.addControllerListener(this);
participantsVC = new VelocityContainer("participants.manage", VELOCITY_ROOT + "/participants.html", getTranslator(), this);
SimpleText dateTitle = new SimpleText("dateTitle", translate("dates.table.subject") + ": " + selectedEvent.getSubject());
DateFormat df = new SimpleDateFormat();
SimpleText dateTimeframe = new SimpleText("dateTimeframe", translate("dates.table.date") + ": " + df.format(selectedEvent.getBegin()) + " - " + df.format(selectedEvent.getEnd()));
participantsVC.put("dateTitle", dateTitle);
participantsVC.put("dateTimeframe", dateTimeframe);
participantsVC.put("participantsTable", tableManageParticipants.getInitialComponent());
participantsVC.put("addParticipants", formManageParticipants.getInitialComponent());
CloseableModalController manageParticipantsModalCntrl = new CloseableModalController(getWindowControl(), "close", participantsVC, true, translate("dates.table.participant.manage"));