configuration - Application Configuration

Controls the structure of the application layout.

Category

basics

Syntax

<xe:this.configuration>
	<xe:applicationConfiguration attributes>content</xe:applicationConfiguration> |
	<xe:oneuiApplication attributes>content</xe:oneuiApplication>
</xe:this.configuration>
Table 1. Properties for xe:applicationConfiguration and xe:applicationConfiguration
Property Description
banner="true|false" Whether the banner is visible. Defaults to true. The banner is at the top of the layout area and contains the application logo, other application links, and a login link.
<xe:this.bannerApplicationLinks>nodes
</xe:this.bannerApplicationLinks>
Application links in the banner. See treeNodes for the content of nodes.
<xe:this.bannerUtilityLinks>nodes
</xe:this.bannerUtilityLinks>
Utility links in the banner. See treeNodes for the content of nodes.
defaultNavigationPath="path" Default navigation path.
footer="true|false" Whether the footer is visible. Defaults to true. The footer is at the bottom of the layout area and contains the footer links. See mastfooter to place footer content outside the layout area.
<xe:this.footerLinks>nodes
</xe:this.footerLinks>
Links in the footer. See treeNodes for the content of nodes. You can add multiple links or groups of links. Links appear vertically and groups appear horizontally.
legal="true|false" Whether the legal bar is visible. Defaults to true. The legal bar is below the footer area and contains the legal logo and text.
legalLogo="image" Pathname for an image on the legal bar. The image should be the logo for the organization holding copyright access to the content.
legalLogoAlt="text" Alternate text for the legal logo image.
legalLogoClass="class(es)" CSS style classes to be applied to the legal logo. Used for CSS image sprites.
legalLogoHeight="30px|50%|10em|auto|inherit" Height of the legal logo image. Setting this slightly improves browser performance.
legalLogoStyle="style(s)" CSS styles to be applied to the legal log.
legalLogoWidth="50%|30px|10em|2cm|auto|inherit" Width of the legal logo image. Setting this slightly improves browser performance.
legalText="text" Text displayed on the legal bar. The text should be for copyrights, trademarks, and license information.
loaded="true|false" Whether the tag instance should be created when the page is loading. Defaults to true.
mastFooter="true|false" Whether the mast footer is visible. Defaults to true. The mast footer follows the layout area as a facet with the following properties:
mastHeader="true|false" Whether the mast header is visible. Defaults to true. The mast header precedes the layout area as a facet with the following properties:
navigationPath="path" Navigation path.
placeBar="true|false" Whether the place bar is visible. Defaults to true. The place bar is just above the main content area and contains the place bar name and actions.
<xe:this.placeBarActions>nodes
</xe:this.placeBarActions>
Links on the place bar. See treeNodes for the content of nodes. The links are displayed as buttons at the end of the place bar.
placeBarName="text" Text on the place bar.
productLogo="image" Pathname for the product logo which appears above the title.
productLogoAlt="text" Alternate text for the product logo image.
productLogoClass="class(es)" CSS style classes to be applied to the product logo. Used for CSS image sprites.
productLogoHeight="30px|50%|10em|auto|inherit" Height of the product logo image. Setting this slightly improves browser performance.
productLogoStyle="style(s)" CSS styles to be applied to the product log.
productLogoWidth="50%|30px|10em|2cm|auto|inherit" Width of the product logo image. Setting this slightly improves browser performance.
<xe:this.searchBar>
	<xe:appSearchBar attributes>
		content
	</xe:appSearchBar
</xe:this.searchBar>
An xe:appSearchBar control with properties as follows:
  • inactiveText - text for inactive search box
  • inputTitle - accessibility title
  • legend - legend for search options and keyword controls
  • loaded - whether tag instance is created when page is loaded
  • options - search combo box options; see treeNodes for the content of its nodes
  • optionsParam - name of the parameter for the selected search option in the query part of the URL
  • pageName - name of a page for the search results
  • queryParam - name of the parameter for the search value in the query part of the URL; defaults to search
  • rendered - whether the search bar should be rendered; defaults to only if the application is indexed
  • scopeTitle - accessibility title for search options
titleBar="true|false" Whether the title bar is visible. Defaults to true. The title bar is above the place bar and contains the title bar name and tabs.
titleBarName="text" Text on the title bar.
<xe:this.titleBarTabs>nodes
</xe:this.titleBarTabs>
Links on the title bar. See treeNodes for the content of nodes. The links are displayed as navigation tabs.

Usage

In Design mode, click All Properties and look for configuration under basics.

Examples

Here is a custom control that defines an application layout using the oneuiApplication configuration. The configuration provides editable areas for the left (facet_1) and middle (facet_2) columns. The right column is not used.
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core" xmlns:xe="http://www.ibm.com/xsp/coreex">
	<xe:applicationLayout id="applicationLayout1">
		<xp:callback facetName="facet_2" id="callback2"></xp:callback>
		<xp:this.facets><xp:callback facetName="facet_1" id="callback1"
			xp:key="LeftColumn"></xp:callback></xp:this.facets>
		<xe:this.configuration>
			<xe:oneuiApplication
				placeBarName="Welcome to the application"
				productLogo="/xpagesui-logo.jpg" productLogoAlt="XPages UI logo"
				productLogoHeight="50%">
				<xe:this.footerLinks>
					<xe:basicContainerNode>
						<xe:this.children>
							<xe:basicLeafNode label="IBM"
								href="http://www.ibm.com">
							</xe:basicLeafNode>
							<xe:basicLeafNode label="Google"
								href="http://www.google.com">
							</xe:basicLeafNode>
						</xe:this.children>
					</xe:basicContainerNode>
				</xe:this.footerLinks>
				<xe:this.titleBarTabs>
					<xe:pageTreeNode label="main" page="/main.xsp"></xe:pageTreeNode>
					<xe:pageTreeNode label="mainview"
						page="/mainview.xsp">
					</xe:pageTreeNode>
				</xe:this.titleBarTabs>
			</xe:oneuiApplication>
		</xe:this.configuration>
	</xe:applicationLayout>
</xp:view>

Additional Documentation | Trademarks |