Issue Bug Under Review

#103561ActionMenus - "selected" status in the options is not set correctly

Mathis Krüper 04/08/24, 08:36 updated 11/10/26, 18:50

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.

Reviews 1

History 13

  1. Vivek Solanki commented <span data-processor="relativetime" data-value="2024-08-28T11:17:04+00:00" > 08/28/24, 11:17 </span>

    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>