.. include:: /Includes.rst.txt .. _typo3-fluid-be-menus-actionmenuitem: ================================================================ be.menus.actionMenuItem ViewHelper `` ================================================================ ViewHelper which returns an option tag. This ViewHelper only works in conjunction with :php:`\TYPO3\CMS\Fluid\ViewHelpers\Be\Menus\ActionMenuViewHelper`. This ViewHelper is tailored to be used only in extbase context. .. note:: This ViewHelper is experimental! Examples ======== Simple:: Select box with the options "Overview", "Create new Blog" and "List Posts". Localized:: Localized select box. .. _typo3-fluid-be-menus-actionmenuitem_arguments: Arguments ========= .. _be.menus.actionmenuitem_additionalattributes: additionalAttributes -------------------- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional tag attributes. They will be added directly to the resulting HTML tag. .. _be.menus.actionmenuitem_data: data ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional data-* attributes. They will each be added with a "data-" prefix. .. _be.menus.actionmenuitem_aria: aria ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Additional aria-* attributes. They will each be added with a "aria-" prefix. .. _be.menus.actionmenuitem_label: label ----- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` Label of the option tag .. _be.menus.actionmenuitem_controller: controller ---------- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` Controller to be associated with this ActionMenuItem .. _be.menus.actionmenuitem_action: action ------ :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` The action to be associated with this ActionMenuItem .. _be.menus.actionmenuitem_arguments: arguments --------- :aspect:`DataType` mixed :aspect:`Default` array () :aspect:`Required` false :aspect:`Description` Additional controller arguments to be passed to the action when this ActionMenuItem is selected