OAF_開發系列18_實現OAF頁面跳轉setForwardURL / forwardImmediately(案例)

 20150716 Created By BaoXinjianweb

1、摘要oracle


setForwardURL()與forwardImmediately()app

1. forwardImmediately會中止當前頁面的請求,直接跳轉到新的頁面;jsp

2. setForwardURL會等當頭頁面的請求結束後再跳轉;post

 

2、setForwardURL()ui


1. 調用方法
spa

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. 參數意義code

 

3、forwardImmediately()blog


1. 調用方法class

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

相關文章
相關標籤/搜索