JBoss.orgCommunity Documentation

Chapter 24. Navigation Tabs

24.1. Explicit ordering of tabs
24.2. Translating tab labels
24.2.1. Method one: Multiple display-name
24.2.2. Defining a resource bundle and supported locales

The navigation tabs allow users to navigate the portal pages. This section describes some of the functionality available in configuring them.

Explicit ordering of the tab display, is accomplished via page properties that are defined in your *-object.xml ( Section 6.2.1, “*-object.xml Descriptors” ). Ordering is accomplished using the order tag at the page level as a page property.

<page>
   <page-name>default</page-name>
   <properties>
      <property>
         <name>order</name>
         <value>1</value>
      </property>
   </properties>
      ...
</page>

Labels on tabs can be defined in multiple languages. Two different ways can be used, the first one consist at defining several display name for page objects, the second one consists of defining a resource bundle where to find the localized display-name. Both methods have advantages and drawbacks.