Bug #13906

No way to set "ATagParams"

Added by Daniel Poetzinger over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:2011-03-18
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

0%

Category:ViewHelpers
Target version:-
Has patch: Affected Flow version:

Description

History

#1 Updated by Christian Müller over 4 years ago

But they are all TagBasedViewHelpers, so they normally should support basic tag parameters like id and class.

See also: http://git.typo3.org/FLOW3/Packages/Fluid.git?a=blob;f=Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php;h=fa7999f3ccfa171af5ede504ce550a38890e89ac;hb=HEAD

AbstractTagBasedViewHelper->registerUniversalTagAttribute()

#2 Updated by Bastian Waidelich over 4 years ago

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

Hi Daniel,

All TagBasedViewHelpers support the "universally supported" attributes like class. If you need to specify an additional attribute, you can do so by using the additionalAttributes argument:

1<f:link.action additionalAttributes="{foo: 'bar'}" />

Also available in: Atom PDF