Mercurial > dive4elements > river
changeset 4222:94c76129af7d
Replaced static string with variable to have a more generic radio button panel.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 23 Oct 2012 13:20:02 +0200 |
parents | 480de0dbca8e |
children | 015b219a97af |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java Tue Oct 23 13:17:20 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java Tue Oct 23 13:20:02 2012 +0200 @@ -83,9 +83,9 @@ @Override protected Data[] getData() { String value = form.getValueAsString("selection"); - DataItem item = new DefaultDataItem("ye_select", "ye_select", value); + DataItem item = new DefaultDataItem(this.dataName, this.dataName, value); return new Data[] { new DefaultData( - "ye_select", null, null, new DataItem[]{item})}; + this.dataName, null, null, new DataItem[]{item})}; } protected String getTitle(DataItem item) {