Project

General

Profile

« Previous | Next » 

Revision d7ad25d9

Added by Katja Luther over 2 years ago

ref #9838: change order of ui element creation and setting entity in collection elements

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CollectingAreaDetailElement.java
52 52

  
53 53
	@Override
54 54
	public void setEntity(NamedArea entity) {
55
		selection_namedArea.setEntity(entity);
55
		this.entity = entity;
56
		if (selection_namedArea != null){
57
			selection_namedArea.setEntity(entity);
58
		}
56 59
	}
57 60

  
58 61
	@Override
......
60 63
		selection_namedArea = formFactory.createSelectionElement(NamedArea.class, //getConversationHolder(),
61 64
				formElement, "Area",
62 65
				null, EntitySelectionElement.NOTHING, style);
66
		if (entity != null){
67
			setEntity(entity);
68
		}
63 69
	}
64 70

  
65 71
	@Override

Also available in: Unified diff