Package com.adito.core

Examples of com.adito.core.WindowOpenJavascriptLink


    }

    protected String doPrepareLink(LaunchSession launchSession, String returnTo) {
      WebForward webForward = (WebForward)launchSession.getResource();
      String uri = webForward.getLaunchUri(launchSession);
        return new WindowOpenJavascriptLink(uri, "wf_" + webForward.getResourceId(), new Rectangle(0, 0, 800, 600), true, true,
                        true, true, true).toJavascript();
    }
View Full Code Here


        return true;
    }

  protected String doPrepareLink(LaunchSession launchSession, String returnTo) {
    String launchUri = ((NetworkPlace)launchSession.getResource()).getLaunchUri(launchSession);
        return new WindowOpenJavascriptLink(launchUri,
            "vfs_" + launchSession.getResource().getResourceId() + "_" + System.currentTimeMillis(),
            new Rectangle(20, 20, NetworkPlaceItem.WINDOW_WIDTH, NetworkPlaceItem.WINDOW_HEIGHT), true, false, false, true, true).toJavascript();
  }
View Full Code Here

     * @param request request
     * @return String
     */
    public String getTempDownloadLink(HttpServletRequest request){
      SessionInfo session = LogonControllerFactory.getInstance().getSessionInfo(request);
        WindowOpenJavascriptLink windowOpenJavascriptLink = new WindowOpenJavascriptLink("fileSystem.do?actionTarget=list&path=" + Util.urlEncode("temp/" + session.getUser().getPrincipalName() + "."
            + session.getHttpSession().getId())+ "&resourceId=0",
                        "vfs_" + "0" + "_" + System.currentTimeMillis(),
                        new Rectangle(20, 20, WINDOW_WIDTH, WINDOW_HEIGHT), true, false, false, true, false);
        return "javascript: " + windowOpenJavascriptLink.toJavascript();
    }
View Full Code Here

TOP

Related Classes of com.adito.core.WindowOpenJavascriptLink

Copyright © 2018 www.massapicom. 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.