fix missing users and aliases selection on mail form
This commit is contained in:
parent
84907fcd2c
commit
2df343c732
@ -67,10 +67,12 @@ public class EMailTargetPropertyFieldFactory implements PropertyFieldFactory {
|
|||||||
@Override
|
@Override
|
||||||
public Object createFieldComponent(PropertyConfig prop, XmlrpcProperty value) {
|
public Object createFieldComponent(PropertyConfig prop, XmlrpcProperty value) {
|
||||||
GenericModule genModule = (GenericModule) module;
|
GenericModule genModule = (GenericModule) module;
|
||||||
|
users = genModule.getUsers();
|
||||||
|
mailAliases = genModule.getEMailAliases();
|
||||||
layout = new VerticalLayout();
|
layout = new VerticalLayout();
|
||||||
layout.setCaption(prop.getLabel());
|
layout.setCaption(prop.getLabel());
|
||||||
layout.setData(prop.getId());
|
layout.setData(prop.getId());
|
||||||
|
targets.clear();
|
||||||
lastIndex = 0;
|
lastIndex = 0;
|
||||||
if (value instanceof AbstractProperty) {
|
if (value instanceof AbstractProperty) {
|
||||||
String stringValue = ((AbstractProperty) value).toStringValue();
|
String stringValue = ((AbstractProperty) value).toStringValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user