Out-of-the-Box (OOTB) Tabs
A set of tabs can be configured out-of-the-box. These tabs are configured in an actionModels.xml file, like this:
<model name=”partInfoPageTabSet” resource=”com.ptc.core.ui.navigationRB”>
<submodel name=”partInfoDefaultDetails” type=”object”/>
<action name=”productStructureGWT” type=”psb”/>
</model>
The model can contain the following elements:
submodel : specifies the tab name (display name mapped to the name of the submodel) and the items (tables) to render on the tab. Each action defined within the submodel, a corresponding item (table) is rendered to the body of the tab.
action : specifies the tab name (display name mapped to the name of the action) and the component or JSP to include as the tab body. The HTML returned from the action is rendered as the body of the tab.
The action model is set in the component builder for the given component. Please refer to Sample Code for usages of Client Tabs for a specific component.
Out-of-the-box tabs can only be modified by changing the action definition in the XML file. Users (site administrator, organization administrator, or standard users) are not allowed to change the name of the tab, change the contents of the tab, or remove the tab.
All users will have the ability to change the order in which the tabs appear, this includes out-of-the-box tabs.
도움이 되셨나요?