Displayproperties (attribute of listing)
From JRapid
displayproperties is an attribute of property.
Contents |
Description
The displayproperties attribute defines the properties that will be displayed in a listing.
Usage
<listing
name = NAME
layout = "simple | left"
view = COMMA_SEPARATED_VIEWS
subset = SUBSET_NAME
displayproperties = PROPERTIES
/>
Example
This example shows a thumbnail list for a property entity.
<listing displayproperties="address;country.name,province.name,price,type.name, offerType,state.name;thumb" name="imageList" view="thumbnail"/>
Caution
Be careful, when using displayproperties in a listing you can only choose among the visible properties (the ones with the display attribute set or included in the displayproperties of the subset).
