private void addConsoleAppenderPerformed(AjaxRequestTarget target) { LoggingDto dto = getModel().getObject(); AppenderConfiguration appender = new AppenderConfiguration(new AppenderConfigurationType()); appender.setEditing(true); dto.getAppenders().add(appender); target.add(getAppendersTable()); }
private void appenderEditPerformed( AjaxRequestTarget target, IModel<AppenderConfiguration> model) { AppenderConfiguration config = model.getObject(); config.setEditing(true); target.add(getAppendersTable()); }