Select select = new Select("dummy", size, true);
//select.onChange("alert(''test'');");
final String dashboardId = context.getDashboardConfig().getDashboardId();
select.onChange("handleEvent(''" + dashboardId + "'', ''" + getId() + "'', ''onChange'', this.options[this.selectedIndex].value);");
for(String id:data.keySet()){
select.addOption(id, data.get(id));
}
output.append(select.draw());
}
private Map<String, String> getData(WebContext webContext){