+

Search Tips   |   Advanced Search


Navigator formatting examples

Use HTML to format the layout of a navigator.

The following tables contain some examples of the ways you can format the look of a navigator.


Simple two-level navigator

This example shows the basic structure of the element design used by a navigator.

Navigator result design 1

A <b> tag is added to display the text in the first level of the navigator in bold.

<b>

<placeholder tag="namelink" />

</b><br>

Navigator result design 2

The second design will be repeated for every link returned by the parameters defined in the navigator element below the first level.

<placeholder tag="namelink" />

<br>


Navigator used in a rendering portlet

In this example, a URLCmpnt tag is used to create a link instead of a placeholder. This enables you to specify the name of the portal page use when viewing the links generated by the navigator:

Header <Table>
Navigator result design 1

<tr><td>

<b>

<a HREF=

"<URLCmpnt context="autofill" type="content" mode="portal" portalTarget="URLMap">"

target="_blank"> <IDCmpnt context="autofill" field="title"> </a></b>

</td></tr>

Navigator result design 2

<tr><td>

<a HREF=

"<URLCmpnt context="autofill" type="content" mode="portal" portalTarget="URLMap">"

target="_blank"> <IDCmpnt context="autofill" field="title"> </a></td></tr>

Footer </Table>


Parent topic:

Use a navigator element