Module: Editor
Version: 2.2.1 +
User: Developer
Object Type: Output Object
Description
A WebListBox object provides output on a website. With the WebListBox you can display information in a table structure on your website. For example a list of participants.
Within the WebListBox object, you first have to add a WebPanel. It is only possible to have one WebPanel per WebListBox object. Within the WebPanel, you can then add the list item(s) you want to display.
Properties
DebugLogMode (from version 4.1)
Indicates the level of detail of debug information that is logged during runtime of the website to the trace, a logfile, a database etc. The possible values are:
- None: no debug information is logged
- Simple: only basic information is given
- Extended: in addition to the information in the Simple mode the values of all the properties of the object are shown
IsPublic
Possible values are 'True' or 'False'. If the value is 'False', then the object can only be used within the document where it is created. If the value is 'True', then also from other Futurama documents can be referred to this object. This means that changes in the object also affect the document in which is referred to this object. If the value is 'True' and you attempt to move or delete the object, a warning will be given. To limit these warnings to a minimum it is recommended to set IsPublic to 'True' only when necessary.
RepeatData
In the property RepeatData you should enter the table that the WebListBox should loop through. All elements are subsequently assigned to the UserVariable defined in the RepeatTarget property.
You will often create a range of row numbers for the RepeatData property. By using the RepeatTarget Uservariable that will loop through these row numbers, you can then display the corresponding value out of the table(s) with the information you want to display.
RepeatTarget
This property is used in conjunction with RepeatData. It can only refer to a UserVariable. The RepeatTarget property can be considered as the counter of a loop. During the execution of the loop it subsequently gets assigned all the values in the table defined in the RepeatData property.
Visible
Possible values are 'True' or 'False'. If the value is 'True', the object will be rendered and therefore displayed in your application. If the value is 'False', the object will not be rendered.
XmlName
The name of the object as it is shown in the source of the website. By default the XmlName is equal to the name given in the property (Name) with spaces replaced by underscores, but you are free to change it.
(Name)
The name of the object.
Comment
Here a comment can be entered. For example a short description of the object.
ID
The unique identification number of the object. This number is automatically generated by Futurama on the moment of creation. This number can be used when searching for a certain object in the Find Window.
IsAjaxUpdatePanel
This is an automatic property indicating if the object is referred to as an UpdatePanel. Possible values are 'True' or 'False'.
AlternatingCssClass
When this property is filled, the CssClass for each row of the WebListBox will alternate between CssClass (because it is the CssClass of the WebListBox) and the combination of CssClass and AlternatingCssClass. See the paragraph Rendering for further information.
CssClass
Here the CssClass can be entered. In the stylesheet you can define the style elements that belong to this class.
Example
This example shows the usage of the WebListBox object
Download
Download the Futurama Document WebListBox Example.
Description