Previous Topic: lsColNext Topic: lsExport


lsEnd

The lsEnd macro marks the end of a list form specification. You define the contents of a list form with the lsStart, lsCol, and lsEnd macros. You can optionally include lsWrite and lsExport macros. For example:

<PDM_MACRO name=lsStart. . .>
<PDM_MACRO name=lsCol . .>
<PDM_MACRO name=lsCol . .>
<PDM_MACRO name=lsWrite . .>
<PDM_MACRO name=lsCol . .>
. . . 
<PDM_MACRO name=lsEnd>

HTML for the entire list is output by the lsEnd macro. The other list macros save information used by lsEnd to generate the list.

This macro has the following properties:

alt_data_src=name

Specifies the name of a JavaScript variable containing the contents of the list. This property is used to display data from a source other than the database. For example:

var alternative_source = new Array();
var row1 = new Object();
row1. column0 = “column0”;
row1. column1 = 4;
alternative_source[0] = row1;
……
<PDM_MACRO name=lsEnd alt_data_src=alternative_source>
factory=name

Specifies the name of a Majic factory for the selection list. Defaults to the factory referenced by the associated attributes, and so is not typically required.

isTicketFactory=0|1

Specifies a list of tickets (requests, incidents, problems, changes, or issues).

list=name

Specifies the source variable of a database list. This property is not intended for customer use.

sort=attributeName

Specifies the initial sort sequence of the list.

start=number

Specifies the ordinal number of the first row of the list to display. This property is not intended for customer use.