Sunday, November 14, 2010

Get/Set pageFlowScope variable from manage bean

Set pageFlowScope variable:

AdfFacesContext.getCurrentInstance().getPageFlowScope().put("key", "value");

Get pageFlowScope:

Map map = AdfFacesContext.getCurrentInstance().getPageFlowScope();

3 comments:

  1. not working , its wrong entry please correct it would be like this ADFContext.getCurrent().getPageFlowScope().get("iconSl")

    ReplyDelete
    Replies
    1. It's work fine:
      Map map = AdfFacesContext.getCurrentInstance().getPageFlowScope();
      Object obj = map.get("key");

      JDeveloper 11.1.2.4.0

      Delete