Difference between revisions of "PrF UG forms contains"
From Protege Wiki
(Automated import of articles) |
|||
Line 5: | Line 5: | ||
ContainsWidget is an optional widget for slots of type Instance. | ContainsWidget is an optional widget for slots of type Instance. | ||
− | The default widget, | + | The default widget, InstanceFieldWidget or InstanceListWidget, |
− | InstanceFieldWidget or InstanceListWidget, | ||
lists Instance(s) that are selected as the value of the slot. | lists Instance(s) that are selected as the value of the slot. | ||
− | ContainsWidget actually contains a version of the form for each instance that is a value of the slot. | + | ContainsWidget actually contains a version of the form |
+ | for each instance that is a value of the slot. | ||
− | ContainsWidget is useful primarily for Class or Instance slots where the Class Editor for the Allowed Classes is fairly simple, | + | ContainsWidget is useful primarily for Class or Instance slots |
+ | where the Class Editor for the Allowed Classes is fairly simple, | ||
and where the cardinality is single or small. | and where the cardinality is single or small. | ||
For a widget that provides a summary of selected fields, | For a widget that provides a summary of selected fields, | ||
− | see | + | see [[PrF_UG_forms_instancerow|InstanceRowWidget]] |
− | [[PrF_UG_forms_instancerow|InstanceRowWidget]] | + | or [[PrF_UG_forms_instancerow|InstanceTableWidget]]. |
− | or | ||
− | [[PrF_UG_forms_instancerow|InstanceTableWidget]]. | ||
<div>[[Image:PrF_UG_forms_containswidget.png|forms_containswidget]]</div> | <div>[[Image:PrF_UG_forms_containswidget.png|forms_containswidget]]</div> | ||
For information on how to customize the display of a ContainsWidget, | For information on how to customize the display of a ContainsWidget, | ||
− | see | + | see [[PrF_UG_forms_custom_contains|Customizing a ContainsWidget]]. |
− | [[PrF_UG_forms_custom_contains|Customizing a ContainsWidget]]. | ||
</div> | </div> |
Revision as of 15:02, October 15, 2008
ContainsWidget
ContainsWidget is an optional widget for slots of type Instance. The default widget, InstanceFieldWidget or InstanceListWidget, lists Instance(s) that are selected as the value of the slot. ContainsWidget actually contains a version of the form for each instance that is a value of the slot.
ContainsWidget is useful primarily for Class or Instance slots where the Class Editor for the Allowed Classes is fairly simple, and where the cardinality is single or small. For a widget that provides a summary of selected fields, see InstanceRowWidget or InstanceTableWidget.
For information on how to customize the display of a ContainsWidget, see Customizing a ContainsWidget.