Search in sources :

Example 1 with DashOmTextLabel

use of org.apache.openmeetings.service.mail.template.DashOmTextLabel in project openmeetings by apache.

the class AppointmentTemplate method getSubjectFragment.

@Override
Fragment getSubjectFragment() {
    Fragment f = new Fragment(COMP_ID, "subject", this);
    f.add(new OmTextLabel("prefix", getPrefix()), new OmTextLabel("title", a.getTitle()), new OmTextLabel("start", format(a.getStart(), SHORT)), new DashOmTextLabel("dash"), new OmTextLabel("end", format(a.getEnd(), SHORT)));
    return f;
}
Also used : DashOmTextLabel(org.apache.openmeetings.service.mail.template.DashOmTextLabel) DashOmTextLabel(org.apache.openmeetings.service.mail.template.DashOmTextLabel) OmTextLabel(org.apache.openmeetings.service.mail.template.OmTextLabel) Fragment(org.apache.wicket.markup.html.panel.Fragment)

Aggregations

DashOmTextLabel (org.apache.openmeetings.service.mail.template.DashOmTextLabel)1 OmTextLabel (org.apache.openmeetings.service.mail.template.OmTextLabel)1 Fragment (org.apache.wicket.markup.html.panel.Fragment)1