Mercurial > dive4elements > river
changeset 1293:e88cd17b3420
Bugfix: #233 Redraw computation table if no data was retrieved to display an error message immediatly.
flys-client/trunk@2906 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 07 Oct 2011 13:39:35 +0000 |
parents | bdc270ea6195 |
children | 94d4f040da3a |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Wed Oct 05 16:29:14 2011 +0000 +++ b/flys-client/ChangeLog Fri Oct 07 13:39:35 2011 +0000 @@ -1,3 +1,11 @@ +2011-10-07 Ingo Weinzierl <ingo@intevation.de> + + flys/issue233 (W-Info: Dauerlinienberechnung / "Lädt Daten") + + * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: + Force a redraw of the computation data grid if no data could be + retrieved from server - this displays an error message. + 2011-10-05 Raimund Renkert <raimund.renkert@intevation.de> Edited item attributes are saved and send to the server on accept.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java Wed Oct 05 16:29:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java Fri Oct 07 13:39:35 2011 +0000 @@ -118,6 +118,7 @@ public void setData(List list) { if (list == null || list.size() < 2) { dataTable.setEmptyMessage(MESSAGES.error_no_calc_result()); + dataTable.redraw(); return; }