Tab Models
Objective
You want to change something in the navigator section of the page. For example, you want to add or remove tabs in the navigator.
Background
The tabs rendered in navigator are nothing but actions in action lists just like any other actions in the system. Adding tabs and tabs under them is very much like adding any other action into the system, but there are some additional special considerations.
Scope/Applicability/Assumptions
Assume you need to add a new tab to the main navigation of the navigator.
Assume you need to remove an existing tab from the main navigation of the navigator.
Assume you need to add/remove links in the second level navigation.
Solution
Create new actions, an action model, and JSPs for the tab and sub tabs to be added.
Prerequisite knowledge
To achieve this objective, you need to have an understanding of the following:
Basic development involving CSS, JSP and XML.
The actions framework in the Windchill client architecture. For more information see, Action Framework for Windchill Client Architecture
The management of RBINFO file customizations. For more information see, Localizing Actions and Action Models.
Solution Elements
Element
Type
Description
codebase\config\actions\navigation-actions.xml
XML
This file contains the action definitions for the actions that represent the tabs and sub tabs in the Windchill system
codebase\config\actions\custom-actions.xml
XML
This file is used for adding custom actions and customizing existing actions.
codebase\config\actions\navigation-actionModels.xml
XML
This file contains the action model definitions used in the navigation. Including the main tab list, the sub tab list, the recent lists, and the header actions lists.
codebase\config\actions\custom-actionModels.xml
XML
This file is used for adding custom action models and updating existing action models.
codebase\action.properties or an rbinfo file
rbinfo
Preference files
<mytab>/<list>.jsp
JSP
This is the JSP file you will create as the default content for the tab you are adding. You can create as many additional JSPs to associate with sub tabs as you need.
Est-ce que cela a été utile ?