Friday 31 January 2014

How To  Call different Task Flow's Dynamically on a Single Region on any action.

Step1. Create two different bounded task flow.Drop a view into these task flows . double click on view   activity and create a .jsff fragments and drop a VO from Data Control as a table in one TF and as Form in another TF. 













 as Shown in fig we have two TF DynamicTF1 & DynamicTF2 bounded task flow with a view activity in it.

Step2: Create a page and use panel splitter we get two regions in 1 region we will drop buttons
say Table & Forms are the buttons in Second region  you drop a single task flow as a dynamic region say we



Give the Bean name, Class name & prameter if required otherwise you can skip parameter of TF.

Step3:  use set property listener in command button as shown in fig. below.



Step:4 In Class use the code as shown below


Step5: Run the Home page & click on the buttons.
on Click of Table.









on click of Form.


Happy Coding..........