Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintSettingsPanel.java @ 4473:6db783627137
Map print does now submit additional parameters to MapPrintServiceImpl.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sat, 10 Nov 2012 23:47:38 +0100 |
parents | dc7e41efd5ba |
children | bd78d2b0e309 |
comparison
equal
deleted
inserted
replaced
4472:dc7e41efd5ba | 4473:6db783627137 |
---|---|
44 initLayout(); | 44 initLayout(); |
45 | 45 |
46 this.settings = collection.getSettings("print-settings"); | 46 this.settings = collection.getSettings("print-settings"); |
47 if (settings == null) { | 47 if (settings == null) { |
48 settings = new OutputSettings(); | 48 settings = new OutputSettings(); |
49 GWT.log("settings are empty"); | |
49 } | 50 } |
50 else { | 51 else { |
51 List<Property> properties = settings.getSettings("default"); | 52 List<Property> properties = settings.getSettings("default"); |
52 for (Property prop : properties) { | 53 for (Property prop : properties) { |
54 GWT.log("prop=" + prop.getName()); | |
53 PropertySetting props = (PropertySetting)prop; | 55 PropertySetting props = (PropertySetting)prop; |
54 if (props.getName().equals("page-format")) { | 56 if (props.getName().equals("page-format")) { |
55 | 57 |
56 } | 58 } |
57 else if (props.getName().equals("page-title")) { | 59 else if (props.getName().equals("page-title")) { |