Comboproperty (attribute of entity)

From JRapid

Jump to: navigation, search

comboproperty is an attribute of entity.



The comboproperty is a required attribute when using the combo value for the widget attribute of a property.

The value for this attribute specifies the property in the related entity that will be used to filter the matching records.

This attribute may also be defined as a property attribute. See comboproperty.


<property label=LABEL name=NAME entity=ENTITY widget="combo"


A Company entity specifies a "responsible" property of entity type "Seller". The value combo is used for the widget attribute in that property.

The comboproperty attribute is set in the Seller entity. It is set to "lastName" so that end-users will restrict the dataset suggested for the "Responsible" property by typing the Seller's last name.

 <entity label="Company" menu="Company" name="Company">
     <property label="Responsible" name="responsible" entity="Seller" widget="combo" />
 <entity label="Seller" menu="Sellers" name="Seller" comboproperty="lastName">
     <property display="primary" label="Name" name="name" required="required" />
     <property display="primary" label="Last Name" name="lastName" required="required" />
     <property display="secondary" label="Active" name="active" type="boolean" />

     <filter display="primary" flag="like" label="Last Name" name="lastName" property="lastName" />

Widget combo example‎

See also

  • combo
  • comboproperty for setting a property to be used as comboproperty as an attribute of the property using the combo widget.
Personal tools