Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/feature/FeatureDistributionDetailElement.java | ||
---|---|---|
116 | 116 |
int width = image.calculateWidth(); |
117 | 117 |
IEditGeoService editGeoService; |
118 | 118 |
List<Language> languages = Arrays.asList(new Language[]{CdmStore.getDefaultLanguage()}); |
119 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
120 |
editGeoService = ((CdmApplicationRemoteController)CdmStore.getCurrentApplicationConfiguration()).getEditGeoService(); |
|
121 |
}else{ |
|
122 |
editGeoService =(IEditGeoService) CdmStore.getCurrentApplicationConfiguration().getBean( |
|
123 |
"editGeoService"); |
|
124 |
} |
|
125 |
|
|
119 |
editGeoService = ((CdmApplicationRemoteController)CdmStore.getCurrentApplicationConfiguration()).getEditGeoService(); |
|
120 |
|
|
126 | 121 |
String parameter = editGeoService.getDistributionServiceRequestParameterString( |
127 | 122 |
getTaxonDescriptions(), |
128 | 123 |
false, |
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone