Size (attribute of entity)

From JRapid

Jump to: navigation, search

size is an attribute of entity.


Contents

Description

The size attribute indicates the amount of data that will be stored in an entity. JRapid uses this to adapt the underlying services to better accommodate large or small amounts of data.


When a select box is generated on a form to establish a relationship with another entity, the options for that element are populated from the existent records of the entity. If there is a large number of records for the entity this may cause poor performance and usability issues. Using the size attribute with "large" as a value forces the service used to populate the select box to limit the number of records to the first page only.

Usage

<entity name = NAME label = LABEL size = "large">
   ...
</entity>


Example

See also

Personal tools