
104
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
4
Click the
Insert Query Navigator
button . The Insert Query Navigator
component dialog box appears
5
From the
Link
list, choose whether the buttons will be
Text
or
Image
based.
6
Complete the Insert Query Navigator dialog box. See "About the Query Navigator
Buttons" on page 102.
Manually
Construct the component tag as follows:
<nexus:component classid="nexus/components/QueryNavigator" code="
path
to the nexusComponents.jar file
">
Button definitions
</nexus:component>
The code property specifies the location in Collage of the nexusComponents.jar file,
relative to the location of the asset that contains the component. By default, this is stored
in:
/System/Components/nexusComponents.jar
.
You can also set this property to:
code="$nexusComponents"
which will resolve to the
correct path.
How to Write the Component Body
The body section defines the following for each button in the navigation bar:
The order in which it appears
If the navigation bar uses text buttons, what text should appear on it
If the navigation bar uses image buttons, what image should display and, optionally,
what text should be flattened onto the image
Each button is defined by a separate
<node>
tag, for example:
<node:next active>
<a href="$node.url">Next</a>
Kommentare zu diesen Handbüchern