*/\r
package eu.etaxonomy.taxeditor.ui.section.vocabulary;\r
\r
+import eu.etaxonomy.cdm.model.common.Language;\r
import eu.etaxonomy.cdm.model.common.Representation;\r
import eu.etaxonomy.cdm.model.common.TermBase;\r
import eu.etaxonomy.cdm.model.common.TermVocabulary;\r
@Override\r
protected void createControls(ICdmFormElement formElement,\r
T entity, int style) {\r
+ \r
Representation representation = getEntity().getRepresentation(CdmStore.getDefaultLanguage());\r
\r
if(representation == null){\r
- formFactory.createLabel(formElement, "No represantation for the current default Language");\r
- return;\r
+ //formFactory.createLabel(formElement, "No represantation for the current default Language, english version is used.");\r
+ representation = getEntity().getRepresentation(Language.ENGLISH());\r
}\r
\r
text_label = formFactory.createTextWithLabelElement(formElement, "Label", representation.getLabel(), style);\r