Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java @ 736:b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
gnv-artifacts/trunk@774 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 15 Mar 2010 13:40:14 +0000 |
parents | 18dc6a99f4f4 |
children | 0563389138bb |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java Mon Mar 15 12:50:08 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java Mon Mar 15 13:40:14 2010 +0000 @@ -236,12 +236,8 @@ boolean valid = iv.isInputValid(tmpItem.getValue(), inputValue.getType()); if (valid) { - if (this.queryID != null){ - // Query the Description only if it is possible to - // Query data from the Database for this State. - String[] desc = getDescriptionForInputData(tmpItem, uuid); - tmpItem.setDescription(desc); - } + String[] desc = getDescriptionForInputData(tmpItem, uuid); + tmpItem.setDescription(desc); this.inputData.put(tmpItem.getName(), tmpItem); } else { String msg = resFactory.getRessource( @@ -287,7 +283,7 @@ } - private String[] getDescriptionForInputData(InputData data, String uuid) { + protected String[] getDescriptionForInputData(InputData data, String uuid) { // there is only one element in the list, so take the first Object obj = getDescibeData(uuid).get(0); List descs = new ArrayList();