use of org.olat.core.gui.control.ChiefController in project openolat by klemens.
the class DMZContentControllerCreator method createController.
@Override
public Controller createController(UserRequest ureq, WindowControl lwControl) {
DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
AutoCreator contentControllerCreator = new AutoCreator();
contentControllerCreator.setClassName(LoginAuthprovidersController.class.getName());
dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
ChiefController cc = new BaseFullWebappController(ureq, dmzSitesAndNav);
cc.addBodyCssClass("o_dmz");
Windows.getWindows(ureq.getUserSession()).setChiefController(cc);
return cc;
}
use of org.olat.core.gui.control.ChiefController in project openolat by klemens.
the class OAuthDispatcher method error.
private void error(UserRequest ureq, String message) {
StringBuilder sb = new StringBuilder();
sb.append("<h4><i class='o_icon o_icon-fw o_icon_error'> </i>");
sb.append(translate(ureq, "error.title"));
sb.append("</h4><p>");
sb.append(message);
sb.append("</p>");
ChiefController msgcc = new MessageWindowController(ureq, sb.toString());
msgcc.getWindow().dispatchRequest(ureq, true);
}
use of org.olat.core.gui.control.ChiefController in project openolat by klemens.
the class OAuthDispatcher method redirectImplicitWorkflow.
private void redirectImplicitWorkflow(UserRequest ureq) {
ChiefController msgcc = new JSRedirectWindowController(ureq);
msgcc.getWindow().dispatchRequest(ureq, true);
}
Aggregations