Thursday 20 March 2014

Oracle ADF : How to implement PPR (Partial Page Refresh)



How to implement PPR (Partial Page Refresh)

PPR(Partial page refresh) is used for notifying a component if any changes are done by any action caused by a different component so that it can update itself with updated value in component tree. Two ways are used for achieving this –

1.Declarative way – Use partialTriggers="sourceId" property on UI component. sourceId is the id 
   of component which is causing update.

2.Programmatic way – In your manage bean do ppr on component using its ui binding like-
         AdfFacesContext.getCurrentInstance().addPartialTarget( getUiComponent())
 
     Link for ref : http://www.adftips.com/2010/10/adf-ui-refreshing-page-or-region.html

No comments:

Post a Comment