Package org.olat.core.gui.components.form.flexible.impl.components

Examples of org.olat.core.gui.components.form.flexible.impl.components.SimpleText


          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"));
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.form.flexible.impl.components.SimpleText

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.