Accessing pageFlowScope from a Page
You can access pageFlowScope in one of the following ways:
By using EL: You can access objects stored in pageFlowScope through EL expressions. The object names must use the pageFlowScope prefix, because EL expressions do not automatically look into pageFlowScope. The first example in the slide shows how to have a button’s label provided by a pageFlowScope-managed bean, and to have a method on the bean called when the button is selected. This example is just for illustrative purposes; in practice, you would use resource bundles for the text of labels.
By using Java: The pageFlowScope is a java.util.Map that may be accessed from Java code. To get a reference to pageFlowScope, use the getPageFlowScope() method provided by Trinidad in org.apache.myfaces.trinidad.context.RequestContext. The second example in the slide retrieves an object from pageFlowScope.