Package org.jmanage.util.display.html

Examples of org.jmanage.util.display.html.Select


            size = Integer.parseInt(properties.get(SIZE));
    }
   
    public void drawInternal(DashboardContext context, StringBuffer output) {
        Map<String, String> data = getData(context.getWebContext());
        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());
    }
View Full Code Here

TOP

Related Classes of org.jmanage.util.display.html.Select

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.