Package org.olat.group.ui

Examples of org.olat.group.ui.BusinessGroupFormController


      if (event == Form.EVNT_VALIDATION_OK) {
        if (this.groupController != null) {
          this.groupController.dispose();
          this.groupController = null;
        }
        this.groupController = new BusinessGroupFormController(ureq, getWindowControl(), this.originalGroup, this.flags.isEnabled(BGConfigFlags.GROUP_MINMAX_SIZE));
        this.groupController.setGroupName(this.originalGroup.getName() + " " + this.trans.translate("bgcopywizard.copyform.name.copy"));
        this.groupController.addControllerListener(this);
        setNextWizardStep(this.trans.translate("bgcopywizard.detailsform.title"), this.groupController.getInitialComponent());
      }
    }
View Full Code Here


        // TODO:fj:b introduce reset() for a form
       
        if (this.modifyBusinessGroupController != null) {
          removeAsListenerAndDispose(this.modifyBusinessGroupController);
        }
        this.modifyBusinessGroupController = new BusinessGroupFormController(ureq, getWindowControl(), this.currBusinessGroup, this.flags.isEnabled(BGConfigFlags.GROUP_MINMAX_SIZE));
        listenTo(this.modifyBusinessGroupController);
        this.vc_tab_bgDetails.put("businessGroupForm", this.modifyBusinessGroupController.getInitialComponent());

      }
    }
View Full Code Here

    VelocityContainer tmp = createVelocityContainer("tab_bgDetail");
   
    if (this.modifyBusinessGroupController != null) {
      removeAsListenerAndDispose(this.modifyBusinessGroupController);
    }
    this.modifyBusinessGroupController = new BusinessGroupFormController(ureq, getWindowControl(), businessGroup, this.flags
        .isEnabled(BGConfigFlags.GROUP_MINMAX_SIZE));
    listenTo(this.modifyBusinessGroupController);
   
    tmp.put("businessGroupForm", this.modifyBusinessGroupController.getInitialComponent());
    tmp.contextPut("BuddyGroup", businessGroup);
View Full Code Here

    BGConfigFlags flags = BGConfigFlags.createBuddyGroupDefaultFlags();
   
    if (this.createBuddyGroupController != null) {
      removeAsListenerAndDispose(this.createBuddyGroupController);
    }
    this.createBuddyGroupController = new BusinessGroupFormController(ureq, getWindowControl(), null, flags.isEnabled(BGConfigFlags.GROUP_MINMAX_SIZE));
    listenTo(this.createBuddyGroupController);
    this.cmc = new CloseableModalController(getWindowControl(), translate("close"), this.createBuddyGroupController.getInitialComponent(), true, translate("create.form.title"));
    this.cmc.activate();
    listenTo(this.cmc);
  }
View Full Code Here

TOP

Related Classes of org.olat.group.ui.BusinessGroupFormController

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.