OAF-创建Javascript弹出窗口的控制器代码
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OAF-创建Javascript弹出窗口的控制器代码相关的知识,希望对你有一定的参考价值。
Sample code from processFormRequest to pop up new window via javascript. worth noting: this is not recommended as it can break the OAF page.
l_buffer.append("javascript:mywin = openWindow(top, '"); l_buffer1.append("/jct/oracle/apps/xxpwc/entry/webui/AddAttachmentPG"); l_buffer1.append("&retainAM=Y"); l_buffer1.append("&pubOrderId="+pubOrderId); OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE ); l_buffer.append(strUrl.toString()); l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);"); pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
以上是关于OAF-创建Javascript弹出窗口的控制器代码的主要内容,如果未能解决你的问题,请参考以下文章