comparison flys-client/src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java @ 1536:4f4d29404dba

Filter the helper input tables using the range filter. flys-client/trunk@3754 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 Jan 2012 08:46:33 +0000
parents c21d14e48040
children 0ef4753e5515
comparison
equal deleted inserted replaced
1535:03e82be2aabc 1536:4f4d29404dba
21 * 21 *
22 */ 22 */
23 public boolean validate(FormItem item, Map errors) { 23 public boolean validate(FormItem item, Map errors) {
24 boolean valid = true; 24 boolean valid = true;
25 25
26 if(item.getValue() == null) {
27 return false;
28 }
26 String v = item.getValue().toString(); 29 String v = item.getValue().toString();
27 30
28 NumberFormat f = NumberFormat.getDecimalFormat(); 31 NumberFormat f = NumberFormat.getDecimalFormat();
29 32
30 try { 33 try {

http://dive4elements.wald.intevation.org