2005-07-15 cervantes

* Added workaround for an odd win32 bug in the stats configuration
	  console page which meant only the first checkbox selection was saved.

2005-07-15  Romster
	* Added per group selection toggles in the stats configuration console
	  page.
This commit is contained in:
cervantes
2005-07-16 12:52:35 +00:00
committed by zzz
parent 9267d7cae2
commit 0f8ede85ca
4 changed files with 71 additions and 41 deletions

View File

@ -31,7 +31,17 @@ public class ConfigStatsHandler extends FormHandler {
public void setFilename(String filename) {
_filename = (filename != null ? filename.trim() : null);
}
public void setStatList(String stats[]) {
if (stats != null) {
for (int i = 0; i < stats.length; i++) {
String cur = stats[i].trim();
if ( (cur.length() > 0) && (!_stats.contains(cur)) )
_stats.add(cur);
}
}
}
public void setStatList(String stat) {
if (stat != null) {
if (stat.indexOf(',') != -1) {
@ -48,15 +58,6 @@ public class ConfigStatsHandler extends FormHandler {
}
}
}
public void setStatList(String stats[]) {
if (stats != null) {
for (int i = 0; i < stats.length; i++) {
String cur = stats[i].trim();
if ( (cur.length() > 0) && (!_stats.contains(cur)) )
_stats.add(cur);
}
}
}
public void setExplicitFilter(String foo) { _explicitFilter = true; }
public void setExplicitFilterValue(String filter) { _explicitFilterValue = filter; }