[TYPO3-english] Extbase handler for Ajax calls in BE and FE
Jan Kornblum
jan.kornblum at gmx.de
Fri Nov 22 15:00:03 CET 2013
Hi Benjamin and Xavier,
thanks for your replies.
>> if you use extbase in FE, you most probably need all the magic (and that
>> is TypoScript loaded for a specific page). I therefore recommend to use
>> a separate page type to do this.
>>
>> For BE i have no experience how to instantiate Extbase in AjaxID.
>
> I would simply create a dedicated AJAX action in your controller that
> returns what you need.
In FE i tried both pageType and eID [1]. In case of pageType there is
no problem to call an Ajax action. In case of eID it seems to be
neccessary to write an own ajax-extbase dispatcher, isn't it?
But in BE, how can i call an Extbase action here when using AjaxID /
ajax.php? There is a good documentation about using Ajax in BE in
general [2], but it contains no hints regarding Extbase.
I've also read about ExtDirect [3], but i have no idea at all if this
should be used in this context?
Kind regards, Jan
[1] http://typo3.org/documentation/snippets/sd/455/
[2]
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/3/9/
[3] http://wiki.typo3.org/ExtDirect
More information about the TYPO3-english
mailing list