[TYPO3-mvc] FormViewHelpers (suggestions)
Nils Blattner
nb at cabag.ch
Fri Feb 19 12:52:10 CET 2010
Am 19.02.10 11:28, schrieb Jochen Rau:
> Hi.
>
> Thanks for sharing your code.
>
> On 19.02.10 10:26, Nils Blattner wrote:
>> I'm not gonna post my form ViewHelpers, as they are pretty much the same
>> as the original fluid ones. BUT they miss some standard attributes:
>>
>>
>> $this->registerTagAttribute('onchange', 'string', 'onChange event.');
>> $this->registerTagAttribute('onkeyup', 'string', 'onKeyUp event.');
>> $this->registerTagAttribute('onclick', 'string', 'onClick event.');
>
> These are not "universal attributes". But you can write
>
> additionalAttributes="{onChange : 'submit();'}"
>
> Regards
> Jochen
Well, it's too late now but I'll keep it in mind for the next time :)
(hi documentation ^^)
Thanks
Nils
More information about the TYPO3-project-typo3v4mvc
mailing list