Skip to main content

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

  1. Create and select the View that should use the HeaderFooterLayout.
  2. Select HeaderFooterLayout in property layout.
  3. Open the View in the Navigator window.
  4. Create all ViewTemplates to be displayed in the View.
  5. Assign all other Views that should also be displayed in the View.
  6. Select the View that uses the HeaderFooterLayout and 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.
  7. Open the same View again in the Navigator window.
  8. 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.