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)


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"/>

See Also

filter (element)

Personal tools