HttpServletRequest request = (HttpServletRequest)pageContext.getRequest();
WebContext context = WebContext.get(request);
ApplicationConfig appConfig = context.getApplicationConfig();
// graphs at cluster level are not yet supported
assert !appConfig.isCluster();
GraphConfig graphConfig = appConfig.findGraph(id);
HtmlElement applet = new HtmlElement("applet");
applet.addAttribute("code", "org/jmanage/webui/applets/GraphApplet.class");
applet.addAttribute("archive", "/applets/applets.jar,/applets/jfreechart-0.9.20.jar,/applets/jcommon-0.9.5.jar");
applet.addAttribute("width", width);