pageContext.removeJavaScriptFunction("openNewPagePrint");
String url = "OA.jsp?page=/bh/oracle/apps/xdo/print/webui/PrintPG&retainAM=Y&OARF=printable";
OAUrl urlObject = new OAUrl(url);
OARenderingContext renderingcontext = pageContext.getRenderingContext();
String destURL = urlObject.createURL(renderingcontext);
String jScript = "window.open('"+destURL+"')";
pageContext.putJavaScriptFunction("openNewPagePrint", jScript);[@more@]
String url = "OA.jsp?page=/bh/oracle/apps/xdo/print/webui/PrintPG&retainAM=Y&OARF=printable";
OAUrl urlObject = new OAUrl(url);
OARenderingContext renderingcontext = pageContext.getRenderingContext();
String destURL = urlObject.createURL(renderingcontext);
String jScript = "window.open('"+destURL+"')";
pageContext.putJavaScriptFunction("openNewPagePrint", jScript);[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9976/viewspace-1024016/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9976/viewspace-1024016/