public void onSetBatchButton(Event event) { final Window win = (Window) Executions.createComponents(batchMonitors_TargetUrl, null, null); win.setAttribute("monitorlistbox", monitorlistbox); Label pall = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("all"); win.setAttribute("all", pall); Label pok = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("ok"); win.setAttribute("ok", pok); Label pwarn = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("warn"); win.setAttribute("warn", pwarn); Label perror = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("error"); win.setAttribute("error", perror); Label pforbid = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("forbid"); win.setAttribute("forbid", pforbid); Label pbad = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("bad"); win.setAttribute("bad", pbad); Label pnullspecial = (Label) setMonitorWin.getDesktop().getPage("setMonitorPage").getFellow("nullspecial"); win.setAttribute("null", pnullspecial); try { win.doModal(); } catch (SuspendNotAllowedException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } }