A task flow is embedded in af:poup. The content needs to be reset each time user view this.
Use activation and active property to control the life span of task flow.Activate task flow when user open the popup window. Deactivate it when popup is disposed. Please see developer guide to learn more about these properties: Configuring Activation of an ADF Region
You can download the sample workspace from here.
The main.jsf page contains a task flow(dept-task-flow) with a search view embedded inside an af:popup . Each time you invoke the popup, the search panel state in the popup is reset as the task flow is re-activated each time.
[ Runs with Oracle JDeveloper 220.127.116.11.0 (11g R2PS1) + HR Schema]
Learn More ...
There are a lot more points like this. If you are curious to learn the internals of the ADF Business Components and ADF Binding Layer, the following book is for you - Oracle ADF Real World Developer’s Guide.
More details about this book can be found in this post- http://jobinesh.blogspot.in/2012/07/pre-order-your-copy-of-oracle-adf-real.html