addFormElement("partips", partips);
//
SpacerElement s1 = new SpacerElement(true, false);
addFormElement("s1", s1);
//
group = new TextElement("form.message.group", (String) config.get(COEditController.CONFIG_KEY_EMAILTOGROUPS), false, 3000);
group.setExample(translate("form.message.example.group"));
PopupData pd = new PopupData("popupchoosegroups" + this.hashCode(), "popupchoosegroups", "popupchoosegroups", 800, 400);
group.setPopupData(pd);
addFormElement(FormRenderer.JSELEMENTID +"popupchoosegroups"+this.hashCode(), group);
//
area = new TextElement("form.message.area", (String) config.get(COEditController.CONFIG_KEY_EMAILTOAREAS), false, 3000);
area.setExample(translate("form.message.example.area"));
PopupData pda = new PopupData("popupchooseareas" + this.hashCode(), "popupchooseareas", "popupchooseareas", 800, 400);
area.setPopupData(pda);
addFormElement(FormRenderer.JSELEMENTID +"popupchooseareas"+this.hashCode(), area);
//
SpacerElement s2 = new SpacerElement(true, false);
addFormElement("s2", s2);
this.eList = (List) config.get(COEditController.CONFIG_KEY_EMAILTOADRESSES);
String emailToAdresses = "";
if (eList != null) {
emailToAdresses = StringHelper.formatIdentitesAsEmailToString(eList, "\n");
}
teArElEmailToAdresses = new TextAreaElement("message.emailtoadresses", 3, 60, emailToAdresses);
addFormElement("email", teArElEmailToAdresses);
String mS = (String) config.get(COEditController.CONFIG_KEY_MSUBJECT_DEFAULT);
String mSubject = (mS != null) ? mS : "";
teElSubject = new TextElement("message.subject", mSubject, false, 60, 255);
addFormElement("mSubject", teElSubject);
String mB = (String) config.get(COEditController.CONFIG_KEY_MBODY_DEFAULT);
String mBody = (mB != null) ? mB : "";
teArElBody = new TextAreaElement("message.body", 8, 60, mBody);