@Override public void detachModels() { super.detachModels(); classModel.detach(); documentModel.detach(); } }
@Override protected void onInitialize() { super.onInitialize(); modal = new ModalWindow("modal"); modal.setAutoSize(true); add(modal); initializeContent(modal); setAutoNotify(false); }
@Override protected void onInitialize() { super.onInitialize(); applyVisualSettings(this); } @Override
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.plus); setBootstrapType(BootstrapType.PRIMARY); setChangingDisplayMode(true); }
@Override protected void onSubmit(AjaxRequestTarget target) { FileUpload file = inputFile.getFileUpload(); if (file!=null){ onLoadFile(file); command.onAfterModalSubmit(); modal.close(target); } }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.plus); setBootstrapType(BootstrapType.PRIMARY); setAutoNotify(false); }
@Override public void detachModels() { super.detachModels(); classModel.detach(); documentModel.detach(); } }
@Override public void detachModels() { super.detachModels(); if(classModel!=null) classModel.detach(); if(propertyModel!=null) propertyModel.detach(); if(documentModel!=null) documentModel.detach(); }