Be / ClickmenuViewHelper¶
ViewHelper to create a clickmenu
Type: Basic
General properties¶
| Name: | Type: | Description: | Default value: |
|---|---|---|---|
| * table | string | Name of the table | |
| * uid | integer | uid of the record |
Examples¶
Basic example¶
Code:
<n:be.clickmenu table="tx_news_domain_model_news" uid="{newsItem.uid}">
<n:be.buttons.iconForRecord table="tx_news_domain_model_news" uid="{newsItem.uid}" title="" />
</n:be.clickmenu>
Output:
Linked icon (<n:be.button.iconForRecord /> with a click menu for the given record (table + uid)