[TYPO3-dev] BE module with extJs but in 4.2.8

Steffen Ritter info at rs-websystems.de
Tue Jul 28 10:29:15 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> why xclassing backend.php? It's not needed to use ExtJS in BE module.
> Also xclass of template is not the way i would do. Simply add the needed 
> JS to $doc.
> 
> For
> JSON output register an AJAX handler key, look in config_default.php for 
> examples. Thes calls using the AJAX handler key are dispatched from 
> ajax.php and call your registered function direct. There you can
> return json_encode($myArray);
> 
> vg Steffen
To avoid confusion:
json_encode will fail without errors if myArray is not cleanly encoded utf8!


Steffne




More information about the TYPO3-dev mailing list