Portlet Factory, Version 6.1.2


 

Attribute Sequencer builder

The Attribute Sequencer builder modifies existing elements in a repeated region on a page by replacing or adding to any HTML attribute values that those elements support. Use the Attribute Sequencer within a Repeated Region to set an HTML attribute to a changing value according to a sequential list of values that you specify. For example, the following HTML code includes two regions at which to place the Repeated Region builder call and the Attribute Sequencer builder call:

<table>
  <tr class="header"><td>State</td><td>Capitol</td></tr>
  <span name="repeatThis"
    <tr name="alternatorAttachesHere"><td name="customerName"/> /></tr>
  </span>
</table>

In this case, the Attribute Sequencer applies its specified HTML attribute values to the <tr name="alternatorAttachesHere"> element in the table. The following are some quick tips:

  • Be sure to associate the Attribute Sequencer builder with a named tag that supports the application of HTML styles.

  • Ensure that the tag with which you associate the Attribute Sequencer builder supports the styles you are trying to apply.

  • Use the Attribute Sequencer builder to add or modify attribute values not set by other builder calls.

    You can tailor the display of a control builder call by using the Attribute Sequencer builder to change the font, size, border, or any other supported attribute for the control.

  • To use the Attribute Sequencer builder successfully, you need to know a little about HTML styles.

  • You can use style class definitions to set multiple attribute values to one HTML element.

Parent topic: Builder help


Library | Support |