Examples of PopupBrowserWindow


Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

        }         
      };
      //wrap the content controller into a full header layout
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
      //open in new browser window
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);
      //
    }
  }
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

            }
          };
          // wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
          // open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq,
              layoutCtrlr);
          pbw.open(ureq);
        }
      }
    } else if (source == userAutoCompleterCtr) {
      if(event instanceof EntriesChosenEvent) {
        List<String> selectedUsernames = ((EntriesChosenEvent)event).getEntries();
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

          }         
        };
        //wrap the content controller into a full header layout
        ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
        //open in new browser window
        PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
        pbw.open(ureq);
        //
      }
     
      if (source instanceof Link) {
        Link link = (Link)source;
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

            }         
          };
          //wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
          //open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
          pbw.open(ureq);
          //
        } else if (actionid.equals(CMD_LAUNCH_COURSE)) {
          RepositoryManager rm = RepositoryManager.getInstance();
          RepositoryEntry re = rm.lookupRepositoryEntry(efficiencyStatement.getCourseRepoEntryKey());
          if (re == null) {
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

            }
          };
          // wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, userInfoMainControllerCreator);
          // open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq,
              layoutCtrlr);
          pbw.open(ureq);
          //
        }
      }
      if (event instanceof TableMultiSelectEvent) {
        // Multiselect events
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

          }         
        };
        //wrap the content controller into a full header layout
        ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
        //open in new browser window
        PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
        pbw.open(ureq);
        //
      } else if (event.getCommand().equals("popupchooseareas")) {
        // open a controller in a new window which only results in sending back
        // javascript
        // get preselected areas
        final String areas = (String) moduleConfiguration.get(CONFIG_KEY_EMAILTOAREAS);
        // get area select controller
        ControllerCreator ctrlCreator = new ControllerCreator() {
          public Controller createController(UserRequest lureq, WindowControl lwControl) {
            selectAreasCtr = new GroupAndAreaSelectController(lureq, lwControl, course.getCourseEnvironment().getCourseGroupManager(),
                GroupAndAreaSelectController.TYPE_AREA, areas, FormRenderer.JSELEMENTID + "popupchooseareas" + configForm.hashCode());
            // use a one-column main layout
            // disposed in dispose method of COEditController!
            LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(lureq, lwControl, null, null, selectAreasCtr.getInitialComponent(), null);
            return layoutCtr;
          }         
        };
        //wrap the content controller into a full header layout
        ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
        //open in new browser window
        PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
        pbw.open(ureq);
        //
      }
    }
  }
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

            }         
          };
          //wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, userInfoMainControllerCreator);
          //open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
          pbw.open(ureq);
          //
        } else if (actionid.equals(COMMAND_SELECTUSER)) {
          int rowid = te.getRowId();
          Identity identity = identitiesTableModel.getIdentityAt(rowid);
          // TODO whats this??
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

        LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(lureq, lwControl, null, null, myLinkChooserController.getInitialComponent(), null);
        layoutCtr.addDisposableChildController(myLinkChooserController); // cleanup on layout controller dispose
        return layoutCtr;
      }
    };
    PopupBrowserWindow pbw = Windows.getWindows(ureq).getWindowManager().createNewPopupBrowserWindowFor(ureq, linkChooserControllerCreator);
    pbw.open(ureq);
    //
  }
View Full Code Here

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

        }         
      };
      //wrap the content controller into a full header layout
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
      //open in new browser window
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);
      //
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.