The ability to switch the content in a region in a Web page is one of the key features of ADF. It enables a Single Page Interface type of applications - an application where you get into a Web page and never have to leave or refresh the whole page - the content of the page changes based on the context of the work you are doing.
I was looking for a simple way that will explain this concept to people and while I found several blogs that cover this topic, and of course the extensive online ADF TaskFlow ADF Insider sessions cover this, I wanted something that will show the concept in a 5 minutes demo.
So here we go - a quick video that shows you how to switch the content of a part of your page dynamically:
The ingrediants are two bounded taskflows using page fragments. The rest is all done automatically by JDeveloper and ADF. One important note at the end of the demo talks about the scope you should assign to the bean that controls the content of the region.