# HG changeset patch # User Raimund Renkert # Date 1350991202 -7200 # Node ID 94c76129af7de4e982296a7353def443b7b87f3a # Parent 480de0dbca8eb9da93c50f7c3b41a873e4fcc489 Replaced static string with variable to have a more generic radio button panel. diff -r 480de0dbca8e -r 94c76129af7d flys-client/src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java --- 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) {