Tuesday, July 20, 2010

Refresh a ADF component programmatically

In order to refresh an ADF component in bean, do the following:
  • Bind that component to some property of bean
  • get reference of AdfFacesContext by AdfFacesContext.getInstance()
  • add that component as a partial target like adfFacesContext.addPartialTarget(comp_binding)

1 comment:

  1. Do you perhaps mean: AdfFacesContext.getCurrentInstance()

    ReplyDelete