Collection (attribute of filter)

From JRapid

Jump to: navigation, search

Use collection when you want to specify multiple values. Collection filters of entity type properties must specify widget combo (value of widget)

Example

Data model

This will bring all persons with checked educational levels

 <entity label="Person" name="Person">
    <property display="primary" label="Nombre" name="name"/>
    <property entity="EducationalLevel" label="Educational Level" name="educationalLevel"/>
    <filter collection="set" name="educationalLevels" property="educationalLevel" widget="checkbox"/>
 </entity>

See Also

filter (element)

Personal tools