comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.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
81 * displayed. 81 * displayed.
82 * 82 *
83 * @param item The FormItem. 83 * @param item The FormItem.
84 */ 84 */
85 protected boolean validateForm(FormItem item) { 85 protected boolean validateForm(FormItem item) {
86 if (item instanceof StaticTextItem) {
87 return true;
88 }
89
86 boolean valid = true; 90 boolean valid = true;
87 String value = (String) item.getValue(); 91 String value = (String) item.getValue();
88 92
89 if (value == null) { 93 if (value == null) {
90 return valid; 94 return valid;

http://dive4elements.wald.intevation.org