[TYPO3-dev] ExtBase and AJAX: "cannot find requested view"

Helmut Hummel helmut.hummel at typo3.org
Fri Aug 1 13:31:01 CEST 2014


Hi Mark!

On 31.07.14 17:12, Mark Howells-Mead wrote:
>> Did you actually read the post I referenced?
>
> Of course.

Sorry, the question was a bit rough.

>> The URL that is generated by the VH returns the renderd content of your plugin, making eID Ajax dispatchers (error prone) and page types (Error prone and annoying to configure) obsolete.
>
> 1) The URL is generated inside a JavaScript file, where it belongs, which is pulled from localStorage with long expiry at form submission time. Therefore, generation via a ViewHelper which outputs a path in the page source at every request is undesirable and inefficient.
>
> 2) I can’t speak for the reliability of Ajax dispatchers, but the page type solution is configured, without annoyance or error, in seven short lines of almost entirely homogenous TypoScript.

If you have a solution that works for you, it is perfectly fine. Go for it.

For reference for other readers of this thread I'd like to give a few 
more insights in the rendering and URL generation of TYPO3.

I started writing it as an answer here, but then decided it could make a 
nice blog post:

http://typo3.helmut-hummel.de/post/93491210285/url-generation-and-plugin-rendering-in-typo3-cms


Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list