@Override protected void configComponent(CustomCoreSchemeEditPanel panel) { super.configComponent(panel); addDefaultCancelAction(false); addDefaultOkayAction(false); addDefaultHelpAction(); }
@Override protected void save() throws ActionAbortedException, ActionFailedException, ActionUnauthorizedException { CoreConfig value = getComponent().getConfig(); CoreAdmPanelDescriptor descriptor = getPanelDescriptor(); try { value.write(descriptor.getService()); } catch (ScfException e) { SmfUtil.throwActionException(e); } catch (SecurityException e) { throw new ActionUnauthorizedException(e); } configProperty.setValue(getComponent().getConfig()); if (configProperty.isChanged()) { configProperty.save(); } super.save(); descriptor.setCoreConfig(value); }