fix missing users and aliases selection on mail form

This commit is contained in:
Peter Hormanns 2013-06-18 16:21:43 +02:00
parent 84907fcd2c
commit 2df343c732

View File

@ -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();