[TYPO3-project-4-3] ExtJS Date-picker for TCEFORMS

Martin Kutschker masi-no at spam-typo3.org
Mon Jun 29 16:07:42 CEST 2009


Benjamin Mack schrieb:
> Hey Masi,
> 
> On 29.06.2009 10:35 Uhr, Martin Kutschker wrote:
>> I mean:
>>
>> Ext.onReady(function() {
>>    function makeDatePicker() {
>>     // ...
>>    }
>>
>>    Ext.QuickTips.init(); // needed for the date picker?
>>    makeDatePicker();
>> });
>>
>> If I'm not mistaken then makeDatePicker() isn't global any more. So no
>> name space is needed.
> Yes, but the point of the namespace is also in this case, that the
> methods can be overriden and thus be extended by extensions. with the
> code above, it's not as trivial.

Correct.

Masi


More information about the TYPO3-project-4-3 mailing list