[TYPO3-mvc] using ExtJS in an Extbase Extension

Jonas Götze jonnsn at gmail.com
Thu Mar 18 16:45:30 CET 2010


Hi,

Is there something similiar for Backend-Modules? I am having the same
problem there now. The head-tags remain completely emtpy.

I tried
$this->pageRendererObject = $this->doc->getPageRenderer();
$this->pageRendererObject->loadExtJS();
$this->pageRendererObject->enableExtJSQuickTips();
$this->pageRendererObject->addExtOnReadyCode(
      //some extJs code
);

still have to learn a lot... :-)
I am reading through a lot of code from other extensions (mostly mvc_extjs)
but seems like i didn't find the correct settings yet.
Hope someone can give me a hint on that.

Regards
Jonas

2010/3/13 Steffen Ritter <info at rs-websystems.de>

> Am 13.03.2010 10:39, schrieb Jonas Götze:
>
>> I tried the following code in my own action (inspired by mvc_extjs ;-) )
>> *    // Load ExtJS libraries
>>         $GLOBALS['TSFE']->backPath = TYPO3_mainDir;
>>         $GLOBALS['TSFE']->getPageRenderer()->loadExtJS();
>>         $GLOBALS['TSFE']->getPageRenderer()->enableExtJSQuickTips();
>>             // Show a message box when the page is ready
>>         $GLOBALS['TSFE']->getPageRenderer()->addExtOnReadyCode(
>>             'Ext.Msg.alert("My Title", "Hello World!");'
>>         );*
>> But in the Output, there is no Javascript included at all...
>>
>
> Hey, is the plugin uncached.
> As far as I know there is a bug in using the pagerenderer from _INT
> objects.
>
> Regards
>
> Steffen
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list