Actions
Bug #103561
openActionMenus - "selected" status in the options is not set correctly
Status:
New
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2024-04-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello everyone, I have integrated an Action Menu as follows:
<f:be.menus.actionMenu>
<f:be.menus.actionMenuItem label="{f:translate(key:'be_menu_start')}" action="start" controller="Message"/>
<f:be.menus.actionMenuItem label="{f:translate(key:'be_menu_booking')}" action="list" controller="Appointment" />
...
</f:be.menus.actionMenu>
Unfortunately, I noticed that the "selected" status in the options is not set correctly because the token does not seem to be passed to the ActionMenuItemViewHelper.
Updated by Vivek Solanki 3 months ago
Hello Everyone
I also had a similar situation after making my extension compatible with TYPO3 v12; previously, in v11, it worked perfectly.
Here is my Fluid code:
<f:be.menus.actionMenu>
<f:be.menus.actionMenuItem
label="{f:translate(key: 'label1', extensionName: 'Extension')}"
controller="Controller" action="action1"/>
<f:be.menus.actionMenuItem
label="{f:translate(key: 'label2', extensionName: 'Extension')}"
controller="Controller" action="action2"/>
</f:be.menus.actionMenu>
Actions