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

Posted: April 25, 2018 in JDeveloper & ADF
Tags: , , , , , , ,

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.