Dynamically adding multiple regions to a page

ADF allows you to add or remove regions to a page at runtime. This feature is useful if you do not know the number of regions that render in the page at design time. For example, consider a page with panel tabbed display, each tab holding a region. An end user can add or remove tabs at runtime. This section discusses a solution for such use cases.

You can use a page definition file's multiTaskFlow element to reference a list of bounded task flows that are added at runtime. Each region in the UI may hold a reference to a task flow in the list. The following are the implementation details:

  1. Implementing the logic to return a task flow binding attributes list.

    The first step is to build a managed bean to ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.