My use case is that I have mainPage BTF which has ExecuteWithParam as the default activity. This filters the VO using params. I have a requirement to store some of the attributes from current row to pageFlowScope which needs to be passed to multiple child taskflows.
I can introduce a method call after ExecuteWithParam activity and before the page renders but not sure how should I pass the current row (or something) to this method call to store the values on pageFlowScope.
What should I pass to this managed bean to store the values on pageFlowScope? Is there any alternative?
Thanks Timo. This thought came to my mind but then I wasn't sure how to obtain the current row after ExecuteWithParams methodAction call.
I do not want put any data model specific code in backing bean. What I mean is that I don't want to use data model APIs to get that data.
What mechanism are you proposing to get the row after the call? I would appreciate if you could provide some reference or may be sample code.
I see two possible ways to get to the attributes. First you can get the iterator current row and get the attributes from there. Second you add attribute bindings to the methods pageDef file for all attributes you are interested in. Then you access them using the attribute binding. I never tested the 2nd method but I guess the framework will fill the attribute bindings like it does in a normal page.
Sorry, can't give you sample code on this add I'm not in front of a PC.
Thanks Pino. I used the first method of getting the iterator and then current row.
I hope this is not violating the MVC layer concept as I had to import oracle.jbo.Row, oracle.jbo.ViewObject and oracle.adf.model classes for BindingContext/Container.