use of org.olat.core.commons.fullWebApp.MessageWindowController in project OpenOLAT by OpenOLAT.
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.commons.fullWebApp.MessageWindowController 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);
}
Aggregations