[TYPO3-mvc] How to load JS Data via Extbase

Steffen Kamper info at sk-typo3.de
Sat Jun 13 12:54:34 CEST 2009


Hi Steffen,

Steffen Ritter schrieb:
> Hi list,
> i have three questions concerning loading of JavaScript Files.
> 
> 1) I wanna ship ExtCore. In which directory should this go? And my own 
> file?
>

use it from typo3/contrib

> 2) How to load the Library and my own JS files through extbase?
> 
use
a) TS for inclusion
or b) controller, where you can use
$this->response->addAdditionalHeaderData
(response: Tx_Extbase_MVC_Response The response which will be returned 
by this action controller)

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list