OAF OA FRAMWORK open new window

saa發表於2009-07-10
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@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9976/viewspace-1024016/,如需轉載,請註明出處,否則將追究法律責任。

相關文章