Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 2389:3b1a7f34e19b
flys/issue499: Deactivate validation for 'W am Pegel'
flys-client/trunk@4050 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 14 Feb 2012 16:33:26 +0000 |
parents | d53f8cc1702c |
children | 8112ec686a9a f405eb46762e |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Mon Feb 13 18:00:48 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Tue Feb 14 16:33:26 2012 +0000 @@ -713,16 +713,17 @@ } protected List<String> validateSingleValues() { - if (isWMode()) { - return validateSingle(wArrayPanel, minW, maxW); + if (isWFree()) { + // FIXME: We need min W and max W of the start km of the range. + return validateSingle(wArrayPanel, 0, 100000); + } + else if (isWMode()) { + //return validateSingle(wArrayPanel, minW, maxW); + return validateSingle(wArrayPanel, 0, 100000); } else if (isQFree()) { return validateSingle(qFreeArrayPanel, minQFree, maxQFree); } - else if (isWFree()) { - // FIXME: We need min W and max W of the start km of the range. - return validateSingle(wArrayPanel, 0, 100000); - } else { return validateSingle(qArrayPanel, minQ, maxQ); }