Feature #39936
registerTagAttribute should handle default values
| Status: | New | Start date: | 2012-08-18 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | ViewHelpers | |||
| Target version: | - | |||
| Has patch: | No | |||
| Votes: | 0 |
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
Related issues
| related to Fluid - Bug #11419: registerTagAttribute should handle default values | Resolved | 2010-12-13 |
History
Updated by Stefan Neufeind 9 months 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.
Updated by Tymoteusz Motylewski 4 months ago
Please accept this forward port from TYPO3 CMS, to make keeping synch easier.
Thanks!