Package org.olat.repository

Examples of org.olat.repository.DetailsForm


      if (importedRepositoryEntry == null) {
        getWindowControl().setError("Import failed.");
        return;
      }
      Translator repoTranslator = new PackageTranslator(Util.getPackageName(RepositoryManager.class), ureq.getLocale());
      repoDetailsForm = new DetailsForm("detailsform", repoTranslator, importedRepositoryEntry, SharedFolderFileResource.TYPE_NAME, false, true);
      importSharedfolderVC.put("repoDetailsForm", repoDetailsForm);
      String VELOCITY_ROOT = Util.getPackageVelocityRoot(this.getClass());
      importSharedfolderVC.setPage(VELOCITY_ROOT + "/import_repo_details.html");
      continueButton = LinkFactory.createButton("import.redetails.continue", importSharedfolderVC, this);
      return;
View Full Code Here


      if (importedRepositoryEntry == null) {
        getWindowControl().setError("Import failed.");
        return;
      }
      Translator repoTranslator = new PackageTranslator(Util.getPackageName(RepositoryManager.class), ureq.getLocale());
      repoDetailsForm = new DetailsForm("detailsform", repoTranslator, importedRepositoryEntry, GlossaryResource.TYPE_NAME, false, true);
      importGlossaryVC.put("repoDetailsForm", repoDetailsForm);
      String VELOCITY_ROOT = Util.getPackageVelocityRoot(this.getClass());
      importGlossaryVC.setPage(VELOCITY_ROOT + "/import_repo_details.html");
      continueButton = LinkFactory.createButton("import.redetails.continue", importGlossaryVC, this);
      return;
View Full Code Here

          break;
        default:
          throw new AssertException("Declared import type is not supported.");
      }
      Translator repoTranslator = new PackageTranslator(Util.getPackageName(RepositoryManager.class), ureq.getLocale());
      repoDetailsForm = new DetailsForm("detailsform", repoTranslator, importedRepositoryEntry, typeName, false, true);
      main.put("repoDetailsForm", repoDetailsForm);
      main.setPage(VELOCITY_ROOT + "/import_repo_details.html");
      continueButton = LinkFactory.createButton("import.redetails.continue", main, this);
      return;
    } else if (source == noopButton) {
View Full Code Here

TOP

Related Classes of org.olat.repository.DetailsForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.