Changing the Attributes Displayed in a Region

Working with Layouts 10-21 group by item type, the banners text is the name of the item type, such as Simple File, Zip File, and so on.

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

The grouping criterion displays in the Group By banner. For most grouping criteria, the grouping criterion displays as a link, which, when clicked, invokes a search for all items of a like category, author, create date, or base item type. Some criteria are not suitable for searching, such as a loginlogout link. When the grouping criterion is not suitable for searching, it is not rendered as a link in the Group By banner. In addition to grouping, Oracle Portal offers sorting. Where grouping determines how items are clustered together, sorting determines the display order for each cluster. If items are not grouped, then sorting determines the display order for all items in the region. For more information, see the next section.

10.2.11 Defining a Sort Order for Items

You can specify the order in which items are displayed in a region. When items are grouped using the Group By option, the sort order you specify determines the order of the items within each group. When items are not grouped using the Group By option, the sort order you specify determines the order of items within the region. Item ordering options are available only for item regions. To specify the display order of items in a region: 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 items to be sorted 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 items to be sorted are located. This opens the page in Edit mode.

5. Click the Edit Region icon in the region where the items to be sorted are located

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

6. On the resulting page, go to the Item Display Options section, and choose one of

the following options from the Sort By list: ■ Default to forgo the sorting of items If you choose this option, items are not sorted automatically. They are arranged according to how they are explicitly placed in the region. Users can arrange the items the way they like using the Arrange option available in the region banner in page Edit mode. The Arrange option does not display when another sorting option is selected. ■ Title to order items alphabetically by their display name ■ Size to order items by their size 10-22 Oracle Fusion Middleware Users Guide for Oracle Portal This option works for File items, Image items, and other items based on files. No other item types have a size associated with them. If you choose to order the items in a region by display name Title or size, the Arrange Items icon does not display in the region toolbar Page Edit mode, and you cannot manually order items in the region

7. In the Sort Order list, choose:

■ Ascending to order items from A to Z Title, or smallest to largest Size ■ Descending to order items from Z to A Title, or largest to smallest Size

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

10.2.12 Displaying or Hiding Portlet Headers and Borders

There are a number of reasons you might choose to display portlet headers and borders: in a region with a large portlet population, you may be seeking a way to distinguish one portlet from another; you may care to highlight the specific purpose of a portlet by assigning and exposing a meaningful display name; you may want to expose the controls, such as the Personalize link, that are provided with some portlets. Whatever your reason, it is a simple matter to display or hide portlet headers and borders. Portlet headers consist of a color banner at the top of a portlet, populated with the portlet’s display name and any links that are available for display see Section 10.2.13 . Portlet borders outline a portlet with a thin line that matches the header color. Figure 10–33 shows the same region, first with portlet headers and borders displayed, then hidden. Figure 10–33 Same Region with Portlet Headers and Borders Displayed, then Hidden Because portlet headers contain the Personalize link, if you hide headers, users will not be able to access this link nor personalize any portlets in the region. Privileged users can still edit the portlet defaults when they edit the page. When you display or hide portlet headers or borders, all the portlets within the region are affected. You cannot control portlet headers or borders for individual portlets within the region. However, you can display portlet headers or borders in one region and hide them in another. Portlet header and border options are available only for portlet regions. To display or hide portlet headers or borders: 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 portlet region is located. Working with Layouts 10-23 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 portlet region is located. This opens the page in Edit mode.

5. Click the Edit Region icon in the relevant portlet region

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

6. On the resulting page, go to the Portlet Display Options section, and specify your

portlet header and border preferences. Choose from: ■ Select Show Portlet Headers to display a color banner that contains the portlet display name and all available and enabled links and icons see Section 10.2.13 . Leave this option unselected to hide portlet headers and their associated links and icons. ■ Select Show Portlet Borders to display a thin line the color of the portlet header around the portlets in a region. Leave this option unselected to hide portlet borders.

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

10.2.13 Showing or Hiding Portlet Header Links

Many of the portlets provided through Oracle Portal, as well as through third parties, include individual controls for such actions as personalizing the portlet, performing a specific refresh on the portlet, invoking portlet help, and so on. When you display portlet headers see Section 10.2.12 , you also have the option of showing or hiding portlet controls in each portlet header in a region. Note: Regardless of whether a page portlet or navigation page uses its source pages style, once the page portlet or navigation page is placed on a page, its headers and borders always use the style of the target page. This is because the controls for a portlet’s headers and borders operate at the region level, and the region is a component of the target page. If you do not care to use the target pages header and border colors on the portlets belonging to a page portlet or a navigation page, you can turn off the display of headers and borders at the region level on the target page. If the page portlet or navigation page also contains its own portlets, you must also turn off the display of headers and borders for portlet regions on the source page. To ensure that a page portlet or navigation page uses its own background color, rather than the one specified for its host page: 1. Do not select the option Use Style Of Page On Which Portlet Is Placed for the navigation page or the page that you are publishing as a portlet. 2. In the style used by the target page, clear any value from the Portlet Body Color style element and click Apply.