Examples of dispatchRequest()


Examples of org.olat.core.gui.components.Window.dispatchRequest()

                WindowControl wControl = cc.getWindowControl();
                WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(bc, wControl);
                NewControllerFactory.getInstance().launch(ureq, bwControl)
                // render the window
                Window w = cc.getWindow();
                w.dispatchRequest(ureq, true); // renderOnly
                return;
              } catch (Exception ex) {
                // sendNotFound         
              }
            }
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

            dts.activate(ureq, dt, jh.extractActiveViewId(ureq));
          }
        }
        // render the window
        Window w = cc.getWindow();
        w.dispatchRequest(ureq, true); // renderOnly
      } else { // valid uri for dispatching (has timestamp, componentid and
        // windowid)
        Windows ws = Windows.getWindows(ureq);
        Window window = ws.getWindow(ureq);
        if (window == null) {
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

          // -> a content packaging with wrong links e.g. /css/my.css
          // wastes all the windows
          DispatcherAction.sendNotFound(request.getRequestURI(), response);
          return;
        }
        window.dispatchRequest(ureq);
      }
    } catch (Throwable th) {
      // Do not log as Warn or Error here, log as ERROR in MsgFactory => ExceptionWindowController throws an OLATRuntimeException
      Tracing.logDebug("handleError in AuthenticatedDispatcher throwable=" + th, getClass());
      DispatcherAction.handleError();
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

        ChiefController occ = createAuthHome(ureq);
        Window currentWindow = occ.getWindow();
        currentWindow.setUriPrefix(WebappHelper.getServletContextPath() + "/temp/");
        Windows.getWindows(ureq).registerWindow(currentWindow);
        // render only
        currentWindow.dispatchRequest(ureq, true);
       
      } else {
        // auth: get window
        Windows ws = Windows.getWindows(ureq);
        Window window = ws.getWindow(ureq);
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

       
      } else {
        // auth: get window
        Windows ws = Windows.getWindows(ureq);
        Window window = ws.getWindow(ureq);
        window.dispatchRequest(ureq);       
      }


    } catch (Throwable th) {
      try {
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

     
    // brasato:: ChiefController cc = Windows.getWindows(usess).getMainOlatChiefController();
    ChiefController cc = (ChiefController) Windows.getWindows(usess).getAttribute("AUTHCHIEFCONTROLLER");
    if (cc == null) throw new AssertException("logged in, but no window/Chiefcontroller 'olatmain' found!");
    Window w = cc.getWindow();
    w.dispatchRequest(ureq, true); // renderOnly
  }

}
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

          //}

          window = occ.getWindow();
          window.setUriPrefix(uriPrefix);
          ws.registerWindow(window);
          window.dispatchRequest(ureq, true);
       
        } else {
          window.dispatchRequest(ureq);
        }
      }
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

          window.setUriPrefix(uriPrefix);
          ws.registerWindow(window);
          window.dispatchRequest(ureq, true);
       
        } else {
          window.dispatchRequest(ureq);
        }
      }
    } catch (Throwable th) {
      try {
        ChiefController msgcc = MsgFactory.createMessageChiefController(ureq, th);
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

                WindowControl wControl = cc.getWindowControl();
                WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(bc, wControl);
                NewControllerFactory.getInstance().launch(ureq, bwControl)
                // render the window
                Window w = cc.getWindow();
                w.dispatchRequest(ureq, true); // renderOnly
                return;
              } catch (Exception ex) {
                // sendNotFound         
              }
            }
View Full Code Here

Examples of org.olat.core.gui.components.Window.dispatchRequest()

                                                                  // controller
          }
        }
        // render the window
        Window w = cc.getWindow();
        w.dispatchRequest(ureq, true); // renderOnly
      } else { // valid uri for dispatching (has timestamp, componentid and
        // windowid)
        Windows ws = Windows.getWindows(ureq);
        Window window = ws.getWindow(ureq);
        if (window == null) {
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.