comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java @ 59:a3d235c63195

Save the data explicitly in the LocationDistancePanel and WQInputPanel before returning the user input to avoid a nullpointer exception. flys-client/trunk@1519 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 18 Mar 2011 13:45:34 +0000
parents ba7df4a24ae0
children b92281182c6b
comparison
equal deleted inserted replaced
58:d018995fbee7 59:a3d235c63195
105 * displayed. 105 * displayed.
106 * 106 *
107 * @param item The FormItem. 107 * @param item The FormItem.
108 */ 108 */
109 protected boolean validateForm(FormItem item) { 109 protected boolean validateForm(FormItem item) {
110 if (item instanceof StaticTextItem) {
111 return true;
112 }
113
110 boolean valid = true; 114 boolean valid = true;
111 115
112 String v = (String) item.getValue(); 116 String v = (String) item.getValue();
113 117
114 NumberFormat f = NumberFormat.getDecimalFormat(); 118 NumberFormat f = NumberFormat.getDecimalFormat();

http://dive4elements.wald.intevation.org