Refresh bounded taskflows across regions using InputParameters,PageDef Params

Usecase1 : Selecting record from table in left region reflects dependent detail form of same table in right region using InputParameters Here is the example given by Andre Example The crux to be known from above example. 1) create primary key attribute in pagedef of the table in region1 2) add inputparameter name in taskflow inputparameters of region2 3) bind primary key attribute from page definition to above inputparameters in main page where above 2 regions dropped. UseCase2 : Selecting record from location table in left region reflects corresponding department records from department table in right regions. 1) create bind variable on location id in departmentVO. 2) create locationId attribute in region1 pagedef 3) drop ExecuteWithParam operation from department BC into region2 and assign the locationid param with locationId in location pagedef, invoke the same with Ifrefresh condition. If in case user wants locationid or any other column value of selected row to be displayed in region2, use below steps or you can directly access from pagedef 1) create inputparameter say LocationParam, with type Number, value as #{pageFlowScope.LocationParam} 2) assign LocationId param from pagedef to LocationParam in taskflow2 .
regionref.PNG
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Archives
« April 2014
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
   
       
Today