return desktop;
}
/** Creates an desktop. */
private Desktop newDesktop(Session sess, ServletRequest request,
ServletResponse response, String path) {
final Locator loc = PageDefinitions.getLocator(_wapp, path);
//we have to retrieve locator before setting execution,
//since it assumes exec.getDesktop not null
//which is true except this moment (before desktop is created)
final Execution exec = ExecutionsCtrl.getCurrent();