X

Developer Partner Community

Reinitialise taskFlow in dynamic region and set focus to default activity by Ashish Awasthi

Juergen Kress
PaaS & Middleware Partner Adoption

image

We all use bounded task flows in ADF application development and to switch between multiple task flows we use concept of dynamic region
Recently I came across a problem about dynamic region and bounded task flows, Scenario is like this
I have dropped a BTF in dynamic region and there is a link on page to open that task flow and those who have used dynamic region would be familiar with this piece of code

When user clicks on link it opens default activity in dynamic region and then user navigate to second activity by clicking a button on default activity, Now user clicks the link again but this time page refreshed but default activity is not loaded, dynamic region shows second activity (It is not expected as requirement is to re-initialise task flow and load default activity again)
So to do that we need to refresh task flow and for that just add one more line in code, Bind region to bean and refresh it. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.