/** * Create the dialog. * * @param parent The parent component. * @param dataObject The data object. * @param title The dialog title. */ public DrillDownDisplay(Component parent, Object dataObject, String title) { super(parent, title); setDataObject(dataObject); setWidth("600px"); try { Executions.createComponents(ZKUtil.loadCachedPageDefinition(Constants.RESOURCE_PREFIX + "drillDownDisplay.zul"), this, null); ZKUtil.wireController(this); adjustGrid(); } catch (Exception e) { log.error("Error creating drilldown display dialog.", e); } }
arg.putAll(params); final MessageboxDlg dlg = (MessageboxDlg) Executions.createComponents(_templ, null, arg); dlg.setEventListener(listener); dlg.setButtons(buttons, btnLabels);