(1)PageFlowScope
AdfFacesContext context = AdfFacesContext.getCurrentInstance();
Map pfScope = context.getPageFlowScope();
pfScope.get("paramName");
AdfFacesContext context = AdfFacesContext.getCurrentInstance();
Map vScope = context.getViewScope();
vScope.get("paramName");
(3)SessionScope
FacesContext fctx = FacesContext.getCurrentInstance();
ExternalContext ectx = fctx.getExternalContext();
Map sessionScope = ectx.getSessionMap();
sessionScope.get("paramName");//paramName can be a bean class
No comments:
Post a Comment