include - Include Page

Inserts a reference to another XPage.

Category

Container Controls

Syntax

<xp:include attributes>content</xp:include>
Table 1. Essential properties
Property Description
id Defaults to include1, include2, and so on.
pageName This the page to be included.
Table 2. All properties
Category Properties
accessibility role, title
basics attrs, binding, componentId, dir, id, loaded, pageName, rendered, rendererType
data acl, data, dataContexts, readonly
dojo dojoAttributes, dojoType
events onClientLoad
styling disableTheme, outerStyleClass, style, styleClass, themeId

Usage

At run time, the included XPage appears.

In Design mode, you can see the included page but cannot modify it.

Examples

Here is an Include Page control.
<xp:include pageName="/main.xsp" id="include1"></xp:include>