Organizes its content as a widget.
Category
Extension Library
Syntax
<xe:widgetContainer attributes>content</xe:widgetContainer>
Table 1. Essential properties
| Property |
Description |
| id |
Defaults to widgetContainer1, widgetContainer2,
and so on. |
| dropDownNodes |
Specifies nodes for an Actions dropdown
menu from the title bar. |
| dropDownRendered |
Specifies whether the dropdown menu
is displayed. Defaults to true. |
| scrollable |
Specifies whether the widget can scroll.
Defaults to false. |
| titleBarHref |
Makes the title bar text hot, and defines
its target. |
| titleBarText |
Specifies the text of the title bar. |
| titleBar |
Specifies whether the title bar is
displayed. Defaults to true. |
| type |
Specifies the container type: standard,
sidebar, or plain. |
Table 2. All properties
| Category |
Properties |
| accessibility |
accesskey, tabindex |
| basics |
binding, dropDownNodes, dropDownRendered, id, loaded, rendered, rendererType, scrollable, titleBarHref, titleBarText |
| events |
onScrollDown, onScrollUp |
| format |
titleBar, type |
| styling |
disableTheme, style, styleClass, themeId |
Examples
This example demonstrates a number
of widgets and uses accessibility properties.
<xe:widgetContainer id="widgetContainer1" accesskey="a" tabindex="1" titleBarText="Title Bar">
This widget container has a title bar.
</xe:widgetContainer>
<xe:widgetContainer id="widgetContainer2" titleBarHref="https://www.google.com/" titleBarText="google">
This widget container has title bar that you can click and go to.
</xe:widgetContainer>
<xe:widgetContainer id="widgetContainer3" titleBar="false">
This widget container does not have a title bar.
</xe:widgetContainer>
<xe:widgetContainer id="widgetContainer4" type="sidebar">
This widget goes to another page. The user clicks on
"Actions" in the title bar and a page selection
drops down.
<xe:this.dropDownNodes>
<xe:pageTreeNode label="main" page="/main.xsp"></xe:pageTreeNode>
<xe:pageTreeNode page="/mainview.xsp" label="mainview"></xe:pageTreeNode>
</xe:this.dropDownNodes>
</xe:widgetContainer>