Search in sources :

Example 16 with UserInfoMainController

use of org.olat.user.UserInfoMainController in project openolat by klemens.

the class MessageListController method doOpenVisitingCard.

private void doOpenVisitingCard(UserRequest ureq, Identity creator) {
    ControllerCreator userInfoMainControllerCreator = new ControllerCreator() {

        @Override
        public Controller createController(UserRequest lureq, WindowControl lwControl) {
            return new UserInfoMainController(lureq, lwControl, creator, true, false);
        }
    };
    // wrap the content controller into a full header layout
    ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, userInfoMainControllerCreator);
    PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
    pbw.open(ureq);
}
Also used : UserInfoMainController(org.olat.user.UserInfoMainController) PopupBrowserWindow(org.olat.core.gui.control.generic.popup.PopupBrowserWindow) WindowControl(org.olat.core.gui.control.WindowControl) ControllerCreator(org.olat.core.gui.control.creator.ControllerCreator) UserRequest(org.olat.core.gui.UserRequest)

Aggregations

UserInfoMainController (org.olat.user.UserInfoMainController)16 Identity (org.olat.core.id.Identity)12 UserRequest (org.olat.core.gui.UserRequest)10 WindowControl (org.olat.core.gui.control.WindowControl)10 ControllerCreator (org.olat.core.gui.control.creator.ControllerCreator)10 ArrayList (java.util.ArrayList)8 List (java.util.List)8 CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)8 PopupBrowserWindow (org.olat.core.gui.control.generic.popup.PopupBrowserWindow)8 SingleIdentityChosenEvent (org.olat.basesecurity.events.SingleIdentityChosenEvent)6 TableEvent (org.olat.core.gui.components.table.TableEvent)6 TableMultiSelectEvent (org.olat.core.gui.components.table.TableMultiSelectEvent)6 MultiIdentityChosenEvent (org.olat.basesecurity.events.MultiIdentityChosenEvent)4 AssertException (org.olat.core.logging.AssertException)4 MailNotificationEditController (org.olat.core.util.mail.MailNotificationEditController)4 MailTemplate (org.olat.core.util.mail.MailTemplate)4 HashMap (java.util.HashMap)2 UserBulkChangeStep00 (org.olat.admin.user.bulkChange.UserBulkChangeStep00)2 Link (org.olat.core.gui.components.link.Link)2 Event (org.olat.core.gui.control.Event)2