Search in sources :

Example 1 with ClassLogger

use of com.evolveum.midpoint.web.page.admin.configuration.dto.ClassLogger in project midpoint by Evolveum.

the class LoggingConfigPanel method addClassLoggerPerformed.

private void addClassLoggerPerformed(AjaxRequestTarget target) {
    LoggingDto dto = getModel().getObject();
    ClassLogger logger = new ClassLogger(new ClassLoggerConfigurationType());
    logger.setEditing(true);
    dto.getLoggers().add(logger);
    TablePanel loggersTable = getLoggersTable();
    adjustLoggersTablePage(loggersTable, dto);
    target.add(getLoggersTable());
}
Also used : ClassLoggerConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.ClassLoggerConfigurationType) ClassLogger(com.evolveum.midpoint.web.page.admin.configuration.dto.ClassLogger) LoggingDto(com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto) TablePanel(com.evolveum.midpoint.web.component.data.TablePanel)

Aggregations

TablePanel (com.evolveum.midpoint.web.component.data.TablePanel)1 ClassLogger (com.evolveum.midpoint.web.page.admin.configuration.dto.ClassLogger)1 LoggingDto (com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto)1 ClassLoggerConfigurationType (com.evolveum.midpoint.xml.ns._public.common.common_3.ClassLoggerConfigurationType)1