Optional Header

A custom header can be specified in addition to, or instead of, the application banner. The optional header is defined using the header-type and header-source attributes on the application element and can be defined as either a static HTML fragment or as a custom widget.

Where the header is required instead of the application banner, the optional attributes of the applications element, as listed in Definition, should be omitted.

The header-type attribute is restricted to the values static or dynamic. Setting a static value indicates that a HTML fragment is to be placed within the header. In this instance, the header-source attribute should reference a file that is stored in the resource store. This file must be stored with a content type of text/xml.

If the header-type attribute is set to dynamic, the header-source attribute should reference the custom widget to be used to display the content. This reference will be the same as that specified with the relevant styles-config.xml. For more information on creating and referencing custom widgets please consult the Cúram Custom Widget Development Guide.

Whether a custom widget or HTML fragment is used it must always start with a <div> element.