Page Blocks

Hosting sponsored by:

Point In Space

 

API: Gui

Filename:
vLists_{name}.cnfg

Released With:
5.0.0

Current Version:
1.0.0

Status: Active

Min Lasso Tested: 8.1.0

Max Lasso Tested: 8.5.3

Related:

Still don't get it?

Check out the talk list archives, or join and ask your questions.

Documentation Error or Request?

Email documentation corrections or comments

API Reference

vLists_{name} (Config)

Description

Stores multiple value lists in a single file for use by fwpGui_popup, fwpGui_checkbox, fwpGui_radiobtns, and fwpGui_listbox value list tags.

The file is really just a standard map enclosed in a file. The name of the map must be {mono=vLists_{fileName}}.

The starting project fileset comes with a vLists_genl.cnfg file with several commonly used lists already defined.

Syntax

Each list item is formatted as:

'listName'='itemName___itemValue```itemName___itemValue'

The value is optional, in which case the item name is used for both the display name and the value.

'listName'='itemName```itemName'

Examples

[output_none]
//	Use output_none to cloak the contents of the file and allow comments
//	The name of the var below must be identical to the name of the file

[var:'vLists_sample'=(map:

'colors' = 'Red```Green```Blue',
'shapes' = 'Square```Circle```Triangle',
'yesno' = 'Yes___Y```No___N'

)]
[/output_none]

© 2002-2012, pageblocks.org