@Override
public void createControls(ICdmFormElement element, int style) {
comboStateVocabulary = formFactory.createVocabularyComboElement(TermType.Modifier, "Modifier Vocabulary", null, element, style);
+ if (entity != null){
+ setEntity(entity);
+ }
}
@Override
public void setEntity(TermVocabularyDto entity) {
this.entity = entity;
-// if(entity.getId()!=0){
+ if(comboStateVocabulary != null){
comboStateVocabulary.setSelectionDto(entity);
comboStateVocabulary.removeEmptyElement();
-// }
+ }
}