[PATCH] salix.regional scenario select bugfix

Wald Commits scm-commit at wald.intevation.org
Fri Aug 17 16:48:33 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1534517304 -7200
# Node ID 3b188c34d422c126cae85ca256d48e79ba3827e7
# Parent  b6e595f1696f746f3ca4b187c956fdcd45d5a22d
salix.regional scenario select bugfix

diff -r b6e595f1696f -r 3b188c34d422 artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java	Fri Aug 17 15:31:16 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java	Fri Aug 17 16:48:24 2018 +0200
@@ -47,7 +47,9 @@
             if (datakey.equals(name)) {
 
                 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "cm", context.getMeta());
-                for (int i = -200; i < -100; i = i + 10) {
+                helper.addColumn(0, "regional_scenario_select", "60", "common.client.ui.selection", "ICON", "CENTER", "from");
+                helper.addColumn(1, "cm", "60", "year", "INTEGER", "LEFT", null);
+                for (int i = -200; i < +210; i = i + 10) {
                     final Map<String, String> row = new HashMap<>();
                     row.put("cm", Integer.toString(i));
                     helper.addRow(row);


More information about the Dive4Elements-commits mailing list