Displayproperties(listing)

From JRapid

Jump to: navigation, search

The "displayproperties" attribute defines the properties that will be displayed in the listing.

Usage:

<listing
           name = NAME
           layout = "simple | left"
           view = "thumbnail | table | icons | basic"
           subset = SUBSET_NAME 
           displayproperties = COMMA_SEPARATED 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).