Feature #39936
registerTagAttribute should handle default values
Status: | New | Start date: | 2012-08-18 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
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
History
#1 Updated by Stefan Neufeind almost 3 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 2 years ago
Please accept this forward port from TYPO3 CMS, to make keeping synch easier.
Thanks!