OAF_开发系列18_实现OAF页面跳转setForwardURL / forwardImmediately(案例)
20150716 Created By BaoXinjian
一、摘要
setForwardURL()与forwardImmediately()
1. forwardImmediately会停止当前页面的请求,直接跳转到新的页面;
2. setForwardURL会等当头页面的请求结束后再跳转;
二、setForwardURL()
1. 调用方法
pageContext.setForwardURL("OA.jsp?page=/abc/oracle/apps/test/report/webui/BXJ_TEST_PG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGE);
2. 参数意义
三、forwardImmediately()
1. 调用方法
pageContext.forwardImmediately("OA.jsp?page=/abc/oracle/apps/test/report/webui/TEST_PG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
2. 参数意义
Thanks and Regards
ERP技术讨论群: 288307890
技术交流,技术讨论,欢迎加入
Technology Blog Created By Oracle ERP - 鲍新建
技术交流,技术讨论,欢迎加入
Technology Blog Created By Oracle ERP - 鲍新建