@Override
public void setEntity(DerivedUnit entity) {
this.entity = entity;
- selection_derivedUnit.setEntity(entity);
+ if (selection_derivedUnit != null){
+ selection_derivedUnit.setEntity(entity);
+ }
}
/*
.createSelectionElement(DerivedUnit.class,//getConversationHolder(),
element, "Derived Unit", null,
EntitySelectionElement.EDITABLE | EntitySelectionElement.SELECTABLE, style);
+ if (entity != null){
+ setEntity(entity);
+ }
}
/*