Portlet Factory, Version 6.1.2


 

Paging Links builder

The Paging Links builder adds a set of links to a page in the model for navigating through a data set specified in a Paging Assistant builder call.

The look and feel of the paging links are defined by the imported page that gets inserted into the specified location. You can customize the appearance of the paging links by creating your own HTML page that displays the links with the desired appearance. You can find this file in servable_content_root/factory/pages/data_paging_links.html. The following HTML is the default code for the data_paging_links.html file:

<span name="wrapper">
   <span name="prevlink">[<< Prev]</span>
   <span name="prepglinks">
      <span name="prepglink" />
   </span>
   <span name="curpg" />
   <span name="postpglinks">
      <span name="postpglink" />
   </span>
   <span name="nextlink">[Next >>]</span>
</span>

You can set the display of all text for the paging links by adding the style information shown in the HTML code below:

<head> 
  <style>
     SPAN.linkText {
        font-family: Arial;
        font-weight: bold;
        font-style: normal;
        color: navy;
     }
  </style>
</head>
<span name="wrapper" class="linkText">
   <span name="prevlink">[<< Prev]</span>
   <span name="prepglinks">
      <span name="prepglink" />
   </span>
   <span name="curpg" />
   <span name="postpglinks">
      <span name="postpglink" />
   </span>
   <span name="nextlink">[Next >>]</span>
</span>

Be sure to leave the named <span /> tags in place. The Paging Links builder uses tags as the locations for the various builder calls that it uses to implement the paging links control.

Parent topic: Builder help


Library | Support |