Bug #13906

No way to set "ATagParams"

Added by Daniel Poetzinger almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
ViewHelpers
Target version:
-
Start date:
2011-03-18
Due date:
% Done:

0%

Estimated time:
Has patch:

#1

Updated by Christian Müller almost 11 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 almost 11 years ago

  • Category set to ViewHelpers
  • Status changed from New to Closed
  • Assignee 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:

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

Also available in: Atom PDF