Actions
Feature #20952
closedAdd inline Javascript rendering type for TYPO3AJAX
Start date:
2009-08-28
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Description
The ajax handling in TYPO3AJAX supports several output formats (plain text, JSON, XML) but inline Javascript would be a nice addition. iFrames are often used for transporting AJAX data and rather than returning pure JSON, you want the JSON contents embedded in a script tag and assigned to a variable instead. The attached patch adds a new rendering type to create this inline script.
Note: This is particularly useful inside frontend editing, where the editing form is rendered inside an iframe. When editing is complete, we can return inline Javascript inside the iframe and then pass that data back to the parent page.
(issue imported from #M11819)
Files
Actions