Feature #39936

registerTagAttribute should handle default values

Added by Stefan Neufeind about 9 years ago. Updated over 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
ViewHelpers
Target version:
-
Start date:
2012-08-18
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

The function registerTagAttribute is used to register tags and can't handle default values.

This is a follow-up from a merged change in extbase-fluid.
Verified it applys to FLOW3-fluid as well: TYPO3.Fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php

#1

Updated by Stefan Neufeind about 9 years ago

From the extbase-fluid-commitmessage:
In AbstractTagBasedViewHelper there is no option for a default-value.
However registerArgument() is already capable to receive a
default-value. So the viewhelper just needs to pass it through.

#2

Updated by Tymoteusz Motylewski over 8 years ago

Please accept this forward port from TYPO3 CMS, to make keeping synch easier.
Thanks!

Also available in: Atom PDF