[TYPO3-mvc] link.action format="..."
Michael Knoll
mimi at kaktusteam.de
Fri Jan 28 09:48:38 CET 2011
Hi Raymund,
you can take a look here:
http://forge.typo3.org/projects/extension-pt_extlist/repository/entry/trunk/Classes/View/Export/AbstractExportView.php
and here
http://forge.typo3.org/projects/extension-pt_extlist/repository/entry/trunk/Classes/View/Export/CsvListView.php
to see how to write an extbase view for exporting things to csv (or any
other format) and set the headers for download / view in browser.
Hope this helps you!
Greetings
Michael
Am 25.01.11 18:27, schrieb Raymund Tump:
> Hi Franz,
>
>> well, how should extbase know that it should serve the response as
>> download file and under which file name?
>
> Well, I thought maybe some magic :-)
>
> Can I redirect the result of a view to a file? That would actually
> make the task a whole lot easier.
>
>> Hope that helps.
>
> Thanks, I guess it will.
>
More information about the TYPO3-project-typo3v4mvc
mailing list