comparison flys-client/ChangeLog @ 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 d018995fbee7
children f793d35bfb08
comparison
equal deleted inserted replaced
58:d018995fbee7 59:a3d235c63195
1 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java,
4 src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java:
5 The methods that validates a FormItem will skip StaticTextItem
6 validation.
7
8 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java,
9 src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java:
10 Added a mechanism to validate and save user input before returning the
11 data entered in the fields.
12 Reason: the BlurEvent - after that we gonne validate and save the input
13 stuff - is not fired when the focus is still in one of the text fields
14 and we click the 'next' button immediately. A nullpointer exception
15 would be the result (which is avoided with the mechanism).
16
1 2011-03-18 Ingo Weinzierl <ingo@intevation.de> 17 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2 18
3 * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties, 19 * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties,
4 src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties, 20 src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties,
5 src/main/java/de/intevation/flys/client/client/FLYSMessages.java: 21 src/main/java/de/intevation/flys/client/client/FLYSMessages.java:

http://dive4elements.wald.intevation.org