@Override protected void onImbClearClick() throws ims.framework.exceptions.PresentationLogicException { form.txtReportName().setValue(null); form.getLocalContext().setevent(ims.admin.vo.enums.ReportSearchAction.CLEAR); form.fireCustomControlValueChanged(); }
@Override protected void onCcSearchReportsValueChanged() throws PresentationLogicException { if (ReportSearchAction.SEARCH.equals(form.ccSearchReports().getEvent())) { form.ccSearchReports().clearEvent(); displayReports(form.ccSearchReports().getReportCollection()); } else if (ReportSearchAction.CLEAR.equals(form.ccSearchReports().getEvent())) { form.ccSearchReports().clearEvent(); clearScreen(); } }
private void search() { form.getLocalContext().setreportCollection(domain.listReports(form.getLocalContext().getsystemReportsOnly(), form.txtReportName().getValue())); form.getLocalContext().setevent(ims.admin.vo.enums.ReportSearchAction.SEARCH); form.fireCustomControlValueChanged(); }
public ReportSearchAction getEvent() { return form.getLocalContext().getevent(); }