API's

Posted by raghu.yadav on Oracle Blogs See other posts from Oracle Blogs or by raghu.yadav
Published on Tue, 18 May 2010 23:19:25 -0800 Indexed on 2010/05/19 7:32 UTC
Read the original article Hit count: 435

Filed under:

lets dump API's here ....

// if you want to put/get something in/from the pageFlowScope, use thisMap
pfsMap = AdfFacesContext.getCurrentInstance().getPageFlowScope();
pfsMap.put(key, value); // pfsMap.put("#{pageFlowScope.param}, "sample");
pfsMap.get(key); // pfsMap.get("#{pageFlowScope.param}

// if you want to set bean's property value, use this
MyBackingBean bean = (MyBackingBean)pfsMap.get("my_backing_bean_name"); // the name under which the bean is registered in the task flow
bean.setMyParam(newValue);

© Oracle Blogs or respective owner

Related posts about API's