Minrows (attribute of property)

From JRapid

Jump to: navigation, search

The "minrows" attribute sets the minimum amount of rows for a extendable collection type property.

Usage

<property name = NAME label = LABEL minrows = [0-9]+ collection = "set" | list | sortedset" />

Example

  • A Company must contain at least three contacts.
<property childproperty="company" collection="set" comboproperty="name" embedded="inline" 
entity="Contact" extendable="extendable" label="Contact" labelposition="fieldset" 
maxrows="5" minrows="3" name="contacts"/>
"minrows" example

See also

Personal tools