Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java @ 61:f983d5ce6402
Display human readable strings of the selected values in the UI.
flys-client/trunk@1526 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 21 Mar 2011 09:21:01 +0000 |
parents | d018995fbee7 |
children | 4784ca718476 |
comparison
equal
deleted
inserted
replaced
60:f793d35bfb08 | 61:f983d5ce6402 |
---|---|
74 | 74 |
75 for (DataItem item: items) { | 75 for (DataItem item: items) { |
76 HLayout hLayout = new HLayout(); | 76 HLayout hLayout = new HLayout(); |
77 | 77 |
78 hLayout.addMember(label); | 78 hLayout.addMember(label); |
79 hLayout.addMember(new Label(item.getStringValue())); | 79 hLayout.addMember(new Label(item.getLabel())); |
80 | 80 |
81 vLayout.addMember(hLayout); | 81 vLayout.addMember(hLayout); |
82 } | 82 } |
83 } | 83 } |
84 | 84 |