# HG changeset patch # User Ingo Weinzierl # Date 1300360987 0 # Node ID 6e191588a29558f6d73d5d6ee035f2cd369f8809 # Parent 45ae03d9ca2ba9d446a0050d3e3c55b071248017 Render the Single-W panel initially when the WQInputPanel is rendered. flys-client/trunk@1496 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 45ae03d9ca2b -r 6e191588a295 flys-client/ChangeLog --- a/flys-client/ChangeLog Thu Mar 17 10:54:41 2011 +0000 +++ b/flys-client/ChangeLog Thu Mar 17 11:23:07 2011 +0000 @@ -1,3 +1,9 @@ +2011-03-17 Ingo Weinzierl + + * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: + The Single-W panel is displayed initially when the WQInputPanel is + rendered. + 2011-03-17 Ingo Weinzierl * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: diff -r 45ae03d9ca2b -r 6e191588a295 flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Thu Mar 17 10:54:41 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Thu Mar 17 11:23:07 2011 +0000 @@ -133,6 +133,11 @@ container = new VLayout(); Canvas modeForm = createModePanel(); + // the initial panel is the Single-W panel. + double[] values = getSingleW(); + container.addMember(new DoubleArrayPanel( + MSG.unitWSingle(), values, this)); + layout.addMember(modeForm); layout.addMember(container);