[TYPO3-mvc] Repository does not always insert values
Christoph Moeller
typo3v4mvc at linie.net
Thu May 21 12:28:16 CEST 2015
Hello Wim,
i do not know the pt_extbase extension but had a look at it.
It uses an ajax-dispatcher (for some actions) as well and it is
possible, that this dispatcher has the same problems as the one, i used.
may be, Frans is on the right way, i did not debug the errors belonging
to known dispatching solutions.
may be, you can use another way to work around these mistakes.
in my eyes, there are three ways to work with (independend) ajax in T3:
typoscript, dispatching or page-type.
All methods are bringing the results, you want to have. the difference
is performance as far as i understood.
All of them depend on T3, dispatching has difficulties to make
T3-Variables and procedures run correctly.
page-type has the disadvantage of bad adressing different actions in one
controller (default first action only).
using one action (default) as the target action seems to me to be a
solution.
that makes several 'controllers' necessary for several ajax-calls, but
it works with no errors.
the most elegant way is in my eyes to use a v:viewhelper, that adresses
controller/actions via typoscript directly.
they output in all cases may be part of a (HTML)-page or a json-object
od your choice.
good luck
Chris
More information about the TYPO3-project-typo3v4mvc
mailing list