Element list

LANSA Integrator

Element - list

The list element is used to add a list to the current page.

The list entries can come from a working list or if child item elements exist, then the item value attribute or child text nodes will be used. Child item elements take precedence over the working list.

If no list field is specified or the field does not exist in the list then the first field of the list is used.

Also a list can be created with out using a working list. Just use item elements with static values or bind single field values. Any value that is empty will be excluded from the list.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

list

x1

integer

Default. 0.

y1

integer

Default. 0.

width

integer

Default. 0.

style

style

Default. Helvetica, 10, normal

border

boolean

Default. Document border.

vertical-align

top

 

middle

Default.

bottom

 

horizontal-align

left

Default.

center

 

right

 

symbol

string

Default. bullet.

symbol-default

boolean

Default. true.

field

field

Name of list field.

 

Example

 

<list x1="20" y1="200" width="200" field="FIELD1" horizontal-align="right"/>

 

<list x1="20" y1="100" width="200">

   <item value="Item1"/>

   <item value="{FIELD2}/>

   <tem style="modern">Item 2</item>

   <item>Item 3</item>

</list>