Filter The OmniPortlet Wizard

Creating Portlets with OmniPortlet 3-13 The following layout styles are available with OmniPortlet: ■ Section 3.2.5.1, Tabular Layout ■ Section 3.2.5.2, Chart Layout ■ Section 3.2.5.3, News Layout ■ Section 3.2.5.4, Bullet Layout ■ Section 3.2.5.5, Form Layout ■ Section 3.2.5.6, HTML Layout

3.2.5.1 Tabular Layout

Once youve chosen the tabular style on the View tab, you can refine the layout on the Layout tab Figure 3–13 . Typically, you use the tabular layout if you have one or more columns of data that you want to display in a table. You can choose Plain to display all rows in the table without any background color, or Alternating to display a background color for every other row in the table. Figure 3–13 Layout Tab: Tabular Style In the Column Layout section, you can choose which data columns to display in the portlet, then select a display format for the data. Here, you can set a column to display a hyperlink, so that a secondary Web page displays when the user clicks that column in the table. You can also specify whether the secondary Web page displays in a new window. Figure 3–14 shows an example of an OmniPortlet using a tabular format. Figure 3–14 Example of an OmniPortlet Using a Tabular Layout Note: You can control the background color of a portlet through the portal page style. For more information on using portal page styles, see Oracle Fusion Middleware Users Guide for Oracle Portal. 3-14 Oracle Fusion Middleware Developers Guide for Oracle Portal

3.2.5.2 Chart Layout

You can use the chart layout to display your data graphically, as a bar, pie, or line chart. On the Layout tab Figure 3–15 , you select the chart style and the column layout. When you choose the column layout, you can choose the groups, or columns on which the labels will be based. The category defines the values that will be used to create the chart legend, and the value determines the relative size of the bars, lines, or slices in the chart. You can also select whether the sections of the chart should point to a hyperlink, and whether the targeted information should display in a new window. Figure 3–16 shows an example of the Layout tab for a pie chart layout. Figure 3–15 Layout Tab: Chart Note: For more information on using the OmniPortlet Wizard, click the Help link in the upper right corner of the Layout tab. Note: To group the information in the chart, you must group the information at the data level for example, in your SQL query statement. Also, if numeric values in a data source contain formatted strings, commas, or currency for example, 32,789.00, they are considered to be text and ignored when the chart is generated. You should remove these formatting characters if you want them to be correctly read as numerical values.