The tab-definition
object has multiple functions, which are related to the overall purpose of dividing the application into large functional areas:
The attributes of the tab-definition
object, in addition to the attributes inherited from the FrameworkObject
base class, are described below:
Attribute | Description |
---|---|
| Logical identifier that other objects use to refer to this object, which is exposed to other objects and to the code. This is the primary external way to refer to the object. |
| Resource bundle key for the tab label. |
| The application-interpreted action URL or JavaScript function that is executed when the user selects an object on the tab. |
| The identifier of the default next steps menu that is displayed with the tab. |
| The |
| The access right that defines the security user role required to view the tab. |
| A map that assigns |
| The listing of the identifiers of the panel stacks currently being displayed on the tab. The |
| The list of all panel stacks for the tab in rendering order. This supports panel stacks that must be rendered in a specific order. |
| Indicates the initial panel stack that is displayed in each cell. Contains the reverse mapping of the |
The extension method of the TabDefinitionHome
interface is:
Returns | Method | Description |
---|---|---|
|
| Returns the Arguments: String |
The following is an example of a tab-definition
that defines a document tab layout:
<tab-definition> <id>MyDocumentTabDefinition</id> <app-id>workspace</app-id> <enabled-yn>true</enabled-yn> <name-key>myDocumentTab.name</name-key> <object-type>TabDefinition</object-type> <description-key>myDocumentTab.description</description-key> <image-url>/image/myDocumentTabdefault.gif</image-url> <tab-id>myDocumentTab</tab-id> <title-key>myDocumentTab.label</title-key> <action-id>/main.jsp?t=documentTab</action-id> <visible-yn>false</visible-yn> <access-right></access-right> <panel-stack-assignments> <map-entry> <key>documentPanels</key> <value>centerColumn</value> </map-entry> </panel-stack-assignments> <cell-assignments> <map-entry> <key>centerColumn</key> <value>documentPanels</value> </map-entry> </cell-assignments> </tab-definition>