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);
addFormElement("mBody", teArElBody);
setSubmitKey("save");
if (withCancel) setCancelButton();
}