diff --git a/hsarweb/src/de/hsadmin/web/vaadin/EMailTargetPropertyFieldFactory.java b/hsarweb/src/de/hsadmin/web/vaadin/EMailTargetPropertyFieldFactory.java index 240873e..14372ed 100644 --- a/hsarweb/src/de/hsadmin/web/vaadin/EMailTargetPropertyFieldFactory.java +++ b/hsarweb/src/de/hsadmin/web/vaadin/EMailTargetPropertyFieldFactory.java @@ -67,10 +67,12 @@ public class EMailTargetPropertyFieldFactory implements PropertyFieldFactory { @Override public Object createFieldComponent(PropertyConfig prop, XmlrpcProperty value) { GenericModule genModule = (GenericModule) module; + users = genModule.getUsers(); + mailAliases = genModule.getEMailAliases(); layout = new VerticalLayout(); layout.setCaption(prop.getLabel()); layout.setData(prop.getId()); - + targets.clear(); lastIndex = 0; if (value instanceof AbstractProperty) { String stringValue = ((AbstractProperty) value).toStringValue();