How does auto-ppr know which component to refresh ?

Auto-PP is a functionality of Active Data Services (ADS) in Oracle ADF Faces. Developers setting the ChangeEventPolicy property of the ADF binding - PageDef.xml - to ppr configure attribute and control bindings that are used for input text components and trees to refresh when the binding layer changed, e.g in response to users navigating within a table. In fact auto-ppr is a binding based equivalent to setting the PartialTriggers property on a component. So how does it work and how does it know which component to refresh?

FacesCtrl* classes, which are ADF Faces specific extensions to the generic JUCtrl* binding classes have a method defined on its Def classes that check if the underlying iterator (the iterator the components bind to) has auto-ppr configured. If so, the component is added to the partial target on the FacesContext when a change on the model (like row currency change in response to nagivation) is detected

Comments:

Post a Comment:
Comments are closed for this entry.
About

A blog on Oracle JDeveloper, ADF, MAF, MCS and other mobile and web topics inspired by questions and answers posted on the OTN forums.



Frank Nimphius

Search

Archives
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today