[+BUGFIX] Fluid (Core): Added event handler tags to universal tags in TagBasedViewHelper.
authorJochen Rau <j.rau@web.de>
Tue, 6 Oct 2009 08:43:43 +0000 (08:43 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 6 Oct 2009 08:43:43 +0000 (08:43 +0000)
typo3/sysext/fluid/Classes/Core/ViewHelper/TagBasedViewHelper.php

index d99510c..7bdfada 100644 (file)
@@ -130,6 +130,16 @@ abstract class Tx_Fluid_Core_ViewHelper_TagBasedViewHelper extends Tx_Fluid_Core
                $this->registerTagAttribute('title', 'string', 'Tooltip text of element');
                $this->registerTagAttribute('accesskey', 'string', 'Keyboard shortcut to access this element');
                $this->registerTagAttribute('tabindex', 'integer', 'Specifies the tab order of this element');
+               $this->registerTagAttribute('onclick', 'string', 'Event handler');
+               $this->registerTagAttribute('ondblclick', 'string', 'Event handler');
+               $this->registerTagAttribute('onmousedown', 'string', 'Event handler');
+               $this->registerTagAttribute('onmouseup', 'string', 'Event handler');
+               $this->registerTagAttribute('onmouseover', 'string', 'Event handler');
+               $this->registerTagAttribute('onmousemove', 'string', 'Event handler');
+               $this->registerTagAttribute('onmouseout', 'string', 'Event handler');
+               $this->registerTagAttribute('onkeypress', 'string', 'Event handler');
+               $this->registerTagAttribute('onkeydown', 'string', 'Event handler');
+               $this->registerTagAttribute('onkeyup', 'string', 'Event handler');
        }
 }
 ?>
\ No newline at end of file