Appearance
BaseBeanTreeItemRenderer ​
Component BaseBeanTreeItemRenderer is a specialization of the TreeItemRenderer, which represents baseBeans of the Core Engine.
It extends the TreeItemRenderer by the following possibilities:
- display a marking checkbox
- display a button for conditional operations
- display an object image of the baseBean or an object icon (optional).
Properties ​
HTMLElementBaseComponent
Element tag:
cm4ap-base-bean-tree-item-renderer
Parameter ​
The parameters must be set via attribute itemRendererProperties of actor ListItemRendererFactory.
| Name | Type | Description |
|---|---|---|
| icons | map<string, string> | Used to display additional icons on the object icon (based on the CEBoolean metadata of the baseBean). If the value of the metadata field is set to true, a corresponding icon is displayed (example). |
| showObjectImage | boolean default: false | Defines whether to display the object image of the baseBean. |
| iconName | string | Name of the icon to be displayed. If set, the object icon will be displayed. |
| showCOButton | boolean default: true | Defines whether the "conditional operations" button should be displayed. This button is only displayed when the BaseBeanTreeItemRenderer is hovered over with the mouse or when a record is selected or highlighted. |
| displayField | string default: friendlyname | Defines which field of the object will be displayed in the itemRenderer. |
Icon Example ​
xml
<entry class="map" key="itemRendererProperties">
<entry class="map" key="icons">
<entry class="string" key="isimport">FOLDER-TREE_ITEM_RENDERER-ISIMPORT_FOLDER</entry>
<entry class="string" key="isupload">FOLDER-TREE_ITEM_RENDERER-ISUPLOAD_FOLDER</entry>
<entry class="string" key="isproject">FOLDER-TREE_ITEM_RENDERER-ISPROJECT_FOLDER</entry>
<entry class="string" key="isprojectroot">FOLDER-TREE_ITEM_RENDERER-ISPROJECTROOT_FOLDER</entry>
</entry>
</entry>
