formElement, "Secundum",
entity.getSec(), EntitySelectionElement.ALL,
style);
- if (!config.isSecEnabled() && config.isSimpleDetailsViewActivated()){
+ if (config != null && !config.isSecEnabled()){
selection_secundum.setEnabled(false);
}
- if (config.isSecDetailsActivated() || !config.isSimpleDetailsViewActivated()){
+ if (config != null && config.isSecDetailsActivated()){
text_secundum_microreference = formFactory.createTextWithLabelElement(
formElement, "Detail",
entity.getSecMicroReference(),null,