Project

General

Profile

« Previous | Next » 

Revision fc9d508f

Added by Katja Luther over 5 years ago

ref #6692: update content after change name type

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameDetailElement.java
137 137

  
138 138
	/** {@inheritDoc} */
139 139
	@Override
140
	protected void updateContent() {
140
	public void updateContent() {
141 141
		if(getEntity() == null){
142 142
			setEntity(TaxonNameFactory.NewNonViralInstance(null));
143 143
		}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameDetailSection.java
82 82
	    return formFactory.createNameDetailElement(parentElement, style);
83 83

  
84 84
	}
85
	
86
	public void updateContent(){
87
		((NameDetailElement)this.detailElement).updateContent();
88
	}
85 89
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java
178 178
		
179 179
		if (eventSource == combo_nomenclaturalCode){
180 180
			getEntity().setNameType(combo_nomenclaturalCode.getSelection());
181
			section_name.updateContent();
181 182
		}
182 183
	}
183 184
	@Override

Also available in: Unified diff