jbe/bsw@0: --[[-- jbe/bsw@0: ui.list{ jbe/bsw@0: label = list_label, -- optional label for the whole list jbe/bsw@0: style = style, -- "table", "ulli" or "div" jbe/bsw@0: prefix = prefix, -- prefix for HTML field names jbe/bsw@0: records = records, -- array of records to be displayed as rows in the list jbe/bsw@0: columns = { jbe/bsw@0: { jbe/bsw@0: label = column_label, -- label for the column jbe/bsw@0: label_attr = label_attr, -- table with HTML attributes for the heading cell or div jbe/bsw@0: field_attr = field_attr, -- table with HTML attributes for the data cell or div jbe/bsw@0: name = name, -- name of the field in each record jbe/bsw@0: html_name = html_name, -- optional html-name for writable fields (defaults to name) jbe/bsw@0: ui_field_type = ui_field_type, -- name of the ui.field.* function to use jbe/bsw@0: ...., -- other options for the given ui.field.* functions jbe/bsw@0: format = format, -- name of the format function to be used (if not using ui_field_type) jbe/bsw@0: format_options = format_options, -- options to be passed to the format function jbe/bsw@0: content = content -- function to output field data per record (ignoring name, format, ...) jbe/bsw@0: }, jbe/bsw@0: { ... }, jbe/bsw@0: ... jbe/bsw@0: } jbe/bsw@0: } jbe/bsw@0: jbe/bsw@0: This function takes an array of records to be displayed in a list. The whole list may have a label. The style's "table" (for ), "ulli" (for