if (config == null){
toggleable_cache = formFactory.createToggleableTextField(formElement, "Cache", entity.getTitleCache(), entity.isProtectedTitleCache() || entity.isProtectedFullTitleCache(), style);
- combo_nomenclaturalCode = formFactory.createEnumComboElement(NomenclaturalCode.class, formElement, style);
+ combo_nomenclaturalCode = formFactory.createEnumComboElement(NomenclaturalCode.class, formElement, style, true);
combo_nomenclaturalCode.setSelection(entity.getNameType());
if (entity.getNameType().equals(NomenclaturalCode.ICNP)){
text_nameApprobation = formFactory.createTextWithLabelElement(formElement, "Name Approbation", entity.getNameApprobation(),style);
@Override
public void fillFields() {
super.fillFields();
-
+
section_name.getDetailElement().fillFields();;
section_author.getDetailElement().fillFields();
combo_nomenclaturalCode.setSelection(getEntity().getNameType());
if (text_nameApprobation != null) {
text_nameApprobation.setText(getEntity().getNameApprobation());
}
-
+
}
}
\ No newline at end of file
super(formFactory, formElement);
this.textRuleConsidered = formFactory.createTextWithLabelElement(formElement, "Rule Considered", null, style);
if(isShowCodeEdition){
- this.nomenclaturalCodeEdition = formFactory.createEnumComboElement(NomenclaturalCodeEdition.class, formElement, style);
+ this.nomenclaturalCodeEdition = formFactory.createEnumComboElement(NomenclaturalCodeEdition.class, formElement, style, true);
nomenclaturalCodeEdition.addSelectionListener(this);
nomenclaturalCodeEdition.setIndent(10);