在 ADF 中访问 pageflowscope 变量的更好方法是什么

Which is the better way to access pageflowscope variable in ADF

我们知道有多种方法可以访问页面流范围变量,但哪一种是正确的?

ex RequestContext.getCurrentInstance().getPageFlowScope();
AdfContext.getCurrent.getPageFlowScope();
FacesContext?

我也很想知道所有这些上下文之间的区别。

RequestContext.getPageFlowScope 和 AdfContext.getPageFlowScope return 这两种方法是一样的。您可以同时使用两者。