[TYPO3-german] Dependency Injection Ajax Call
Helmut Hummel
helmut.hummel at typo3.org
Mon Oct 19 12:10:06 CEST 2015
Hi!
Jürgen Pfusterschmied wrote:
> Ich stehe derzeit vor folgendem Problem:
> Ich rufe via Ajax eine ControllerAction im Backend auf um Inhalte nachzuladen.
> AjaxCall und Response funktionieren soweit auch, nur die DI (sprich alle Repositories, Services, etc.) stehen bei einem Ajax Call nicht zur Verfügung (NULL).
Was rufst Du per Ajax auf? Ein eID Skript? Einen eID Dispatcher?
Dann empfehle ich Dir das hier mal zu studieren und ggf. das Ganze mit
typoscript_rendering zu machen:
http://insight.helhum.io/post/104880845705/dont-use-eid-ajax-dispatchers-for-your-extbase
VG,
Helmut
--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-german
mailing list