Defining a Sort Order for Items

Working with Layouts 10-25 To show or hide portlet header links: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page where the portlets are located. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page where

the portlets are located. This opens the page in Edit mode.

5. Click the Edit Region icon in the region where the portlets are located

Figure 10–35 . Figure 10–35 The Edit Region Icon

6. On the resulting page, go to the Portlet Display Options section, and select from:

■ Show Portlet Headers, to show portlet headers, then select the portlet header links you will display. ■ Clear the Show Portlet Headers check box to hide portlet headers. When portlet headers are hidden, no links display, whether or not they are selected.

7. Click OK to save your changes and return to the page.

10.2.14 Changing Portlet and Item Spacing

In designing the layout of your portal pages, you may want to exercise tight control over the spacing of objects within regions. Oracle Portal provides this control through region display options. Using these options, you can change the amount of blank space rendered around and between the portlets and items in a region. Figure 10–36 shows the same region with different portlet spacing. In the first example the space around portlets is set to 4 pixels and the space between portlets is set to 6. In the second example, the space around portlets has been changed to 10 pixels. In the final example the space between portlets has been changed to 15 pixels. Figure 10–36 The Same Region with Different Spacing around and between Portlets To change item and portlet spacing: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page where the region is located. 10-26 Oracle Fusion Middleware Users Guide for Oracle Portal By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page where

the region is located. This opens the page in Edit mode.

5. Click the Edit Region icon in the relevant region

Figure 10–37 . Figure 10–37 The Edit Region Icon

6. On the resulting page, go to the Region Display Options section, and enter a

value in pixels in the Space Between [Portlets or Items] field. 7. Enter a value in pixels in the Space Around [Portlets or Items] field. 8. Click OK to save your changes and return to the page.

10.3 Working with Tabs

Tabs enable you to increase the amount of information on a page without increasing the amount of congestion. For example, suppose you want to create a home page for your entire user base. The information you want to provide encompasses several different areas, each of which is relevant to certain users: technical, human resources, marketing, and finance. To present all of the information on one page, you can place each area of focus on its own tab Figure 10–38 : Figure 10–38 Four Tabs A tab can be in one of two states: active or inactive. An active tab is a tab that is currently selected within a tab set. In Figure 10–38 , the Technical tab is the active tab. The rest of the tabs are inactive. You can specify different colors, fonts, and images for active and inactive tabs. How you use tabs depends on how you plan to implement navigation within your portal. Tabs offer a simple way to deploy a tab-set navigation model that includes many of the same capabilities available with a page. The Oracle Portal tab feature is just one way of realizing a tab set in your portal design. Using standard HTML techniques in combination with portal pages, you can implement many others. For example, use JavaScript to create an effect that visualizes portal pages and sub-pages as a series of tabs in a tab set. For more information about navigation, see Chapter 13, Designing Your Portal’s Navigation . For information about securing a tab, see Chapter 17, Protecting Your Content . This section explores some of the ways you can work with tabs using the inherent capabilities of Oracle Portal. It includes the following subsections: ■ Section 10.3.1, Adding a Tab to a Page ■ Section 10.3.2, Naming a Tab ■ Section 10.3.3, Rearranging the Order of Tabs in a Region