use of au.org.ala.spatial.composer.results.SpeciesListResults in project spatial-portal by AtlasOfLivingAustralia.
the class SpeciesListComposer method onClick$btnDownload.
public void onClick$btnDownload() {
SelectedArea sa = getSelectedArea();
Map<String, Object> hm = new HashMap<String, Object>();
hm.put("selectedarea", sa);
hm.put("geospatialKosher", getGeospatialKosher());
hm.put(StringConstants.CHOOSEENDEMIC, chkEndemicSpecies.isChecked());
if (extraParams != null) {
hm.put(StringConstants.EXTRAPARAMS, extraParams);
}
SpeciesListResults window = (SpeciesListResults) Executions.createComponents("WEB-INF/zul/results/AnalysisSpeciesListResults.zul", getMapComposer(), hm);
try {
window.setParent(getMapComposer());
window.doModal();
} catch (Exception e) {
LOGGER.error("error opening analysisspecieslistresults.zul", e);
}
detach();
}
Aggregations