Search in sources :

Example 6 with ReportDto

use of com.evolveum.midpoint.web.page.admin.reports.dto.ReportDto in project midpoint by Evolveum.

the class JasperReportConfigurationPanel method addFieldPerformed.

private void addFieldPerformed(AjaxRequestTarget target) {
    ReportDto dto = getModel().getObject();
    JasperReportFieldDto parameter = new JasperReportFieldDto();
    parameter.setEditing(true);
    dto.getJasperReportDto().getFields().add(parameter);
    BoxedTablePanel<JasperReportFieldDto> fieldsTable = getFieldsTable();
    adjustFieldsTablePage(fieldsTable, dto);
    target.add(getFieldsTable());
}
Also used : ReportDto(com.evolveum.midpoint.web.page.admin.reports.dto.ReportDto) JasperReportFieldDto(com.evolveum.midpoint.web.page.admin.reports.dto.JasperReportFieldDto)

Aggregations

ReportDto (com.evolveum.midpoint.web.page.admin.reports.dto.ReportDto)6 OperationResult (com.evolveum.midpoint.schema.result.OperationResult)4 JasperReportParameterDto (com.evolveum.midpoint.web.page.admin.reports.dto.JasperReportParameterDto)2 FileInputStream (java.io.FileInputStream)2 InputStream (java.io.InputStream)2 ReaderInputStream (org.apache.commons.io.input.ReaderInputStream)2 AuditEventStage (com.evolveum.midpoint.audit.api.AuditEventStage)1 AuditEventType (com.evolveum.midpoint.audit.api.AuditEventType)1 PrismObject (com.evolveum.midpoint.prism.PrismObject)1 PrismProperty (com.evolveum.midpoint.prism.PrismProperty)1 PrismPropertyDefinitionImpl (com.evolveum.midpoint.prism.PrismPropertyDefinitionImpl)1 Task (com.evolveum.midpoint.task.api.Task)1 SchemaException (com.evolveum.midpoint.util.exception.SchemaException)1 JasperReportFieldDto (com.evolveum.midpoint.web.page.admin.reports.dto.JasperReportFieldDto)1 JasperReportValueDto (com.evolveum.midpoint.web.page.admin.reports.dto.JasperReportValueDto)1 MidPointApplication (com.evolveum.midpoint.web.security.MidPointApplication)1 WebApplicationConfiguration (com.evolveum.midpoint.web.security.WebApplicationConfiguration)1 AuditEventStageType (com.evolveum.midpoint.xml.ns._public.common.audit_3.AuditEventStageType)1 ReportParameterType (com.evolveum.midpoint.xml.ns._public.common.common_3.ReportParameterType)1 ReportType (com.evolveum.midpoint.xml.ns._public.common.common_3.ReportType)1