HeaderFooterLayout
Purpose
The HeaderFooterLayout divides a View into a fixed header area, a middle area, and a fixed footer area. It is suitable when one View or ViewTemplate should always remain visible above or below the main content.
Behavior
The layout divides the View into three parts:
- header area: the upper part, which can consist of a View or a ViewTemplate
- footer area: the lower part, which can consist of a View or a ViewTemplate
- middle area: all other Views or ViewTemplates assigned to the View that uses the
HeaderFooterLayout
In many cases, the HeaderFooterLayout is used for the PreviewView.
Configuration
- Create and select the View that should use the
HeaderFooterLayout. - Select
HeaderFooterLayoutin propertylayout. - Open the View in the Navigator window.
- Create all ViewTemplates to be displayed in the View.
- Assign all other Views that should also be displayed in the View.
- Select the View that uses the
HeaderFooterLayoutand edit its properties:header: Select the View or ViewTemplate that is shown in the header area.footer: Select the View or ViewTemplate that is shown in the footer area.
- Open the same View again in the Navigator window.
- Configure the display order by moving Views and ViewTemplates up or down. This only affects the middle area. Header and footer stay fixed.
Example usage
OrganisationPreview_view in Context Organisation. In the client, open Contact Management > Company, select any company, and inspect the preview on the right.