Feature #49305

Support for Data Attributes in tag-based ViewHelpers

Added by Marco Falkenberg about 2 years ago. Updated about 2 years ago.

Status:Closed Start date:2013-06-21
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

0%

Category:ViewHelpers
Target version:-
Has patch:No

Description

Adding Data Attributes to tag-based ViewHelpers via "additionalAttributes" is an exhausting task, because of the escaping and nesting stuff and so on.

<f:link action="doSomething" data-role-tooltip="{f:translate(id:'doSomething')}">Do something!</f:link>

vs.

<f:link action="doSomething" additionlAttributes="{data-role-tooltip: '{f:translate(id:\'doSomething\')}'}">Do something!</f:link>

Related issues

duplicates TYPO3.Fluid - Feature #35748: Add generic data-* attribute Resolved 2012-04-06

History

#1 Updated by Marco Falkenberg about 2 years ago

Sorry, duplicate

#2 Updated by Bastian Waidelich about 2 years ago

  • Status changed from New to Closed
  • Assigned To set to Bastian Waidelich

Closing as duplicate

Also available in: Atom PDF