This can be used to repeat the content of a region based on the number of rows in VO (data source) attached to the region.
You can implement an auto-repeating layout in one or two levels:
One Level - you create a container web bean and attach a view object to it, which results in the replication of the container children based on the rows in the view object.
Two Levels - you create a master-detail relationship between two lists and create a view link to join them. The outer list replicates its container children based on the master view object and the inner list replicates its container children based on the detail view object.
ARL can be read only or updatable. In case of updatable (with form elements), ARL should be based only on a single view object. A layout with form elements allows you to update any row and submit your changes to update the underlying view object
Limitations:
- You cannot implement a two-level auto-repeating layout with a list containing Form Elements.
- OA Framework does not support view objects (for the Child View Usage) with composite primary keys. The view object should have a single-column primary key.
- The items under an Auto Repeating Layout should not be made hidden/rendered on a Partial Page Refresh (PPR) event.If such a scenario exists, on a PPR event, the page should be re-rendered by calling pageContext.setForwardURL().
- LOV's are not supported in Auto Repeating Layouts (ARLs).
- ARL cannot implement in the following container regions directly or indirectly:
- Table
- Advanced Table
- Hide/Show
- Switcher
- HGrid
- SubTabLayout
Properties for Implementing this:
- Child View Instance
- Child View Attribute
- View Link Instance (in case of two levels)
Due to these limitations its use is limited :).
No comments:
Post a Comment