[TYPO3-mvc] RFC: #11419 registerTagAttribute should handle default values
Georg Ringer
mail at ringerge.org
Mon Dec 13 14:36:14 CET 2010
Hi list,
This is an SVN patch request.
Type: bugfix, nobrainer
Bugtracker reference:
http://forge.typo3.org/issues/11419
Branches:
trunk, 1.3 (?)
Problem:
The function registerTagAttribute is used to register tags and can't
handle default values.
Solution:
Make it able to handle default values by using an additional optional
Additional information:
I came accross this by trying to apply HTML5 templates with fluid which
doesn't really work because of e.g. in TextboxViewHelper it is hardcoded:
-----------
$this->tag->addAttribute('type', 'text');
-----------
It would be overrideable by using:
-----------
$this->registerTagAttribute('type', 'text', 'Type of input field',
FALSE, 'text');
-----------
I will provide a seperate patch for that as soon as this one goes through
Regards,
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fluid-registerTagAttribute.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101213/24fcadb1/attachment.txt>
More information about the TYPO3-project-typo3v4mvc
mailing list