[FLOW3-general] .xml output

David Sporer david.sporer at gmail.com
Fri Sep 28 20:58:28 CEST 2012


Hi,

I'm trying to do the same basically.
If I return the file in the action the browser shows the download window but on the view where the action was fired.
I'd like to show the download window on the view where I'm redirecting to but if I return the file the view is never rendered.

How can I do this?

Best regards
David

-----Ursprüngliche Nachricht-----
Von: flow3-general-bounces at lists.typo3.org [mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von mario chiari
Gesendet: Freitag, 28. September 2012 17:41
An: General discussion about FLOW3
Betreff: Re: [FLOW3-general] .xml output

Hi Robert

Yes, of course, but I would like to use fluid :-) thks mario


On Fri, 2012-09-28 at 12:47 +0200, Robert Lemke wrote:
> Hi Mario,
> 
----
> 
> the most simple way is to just return the xml in your action (without 
> any
> template):
> 
> /**
>  * @return string The xml
>  */
> public function exportAction() {
> 	// build some xml here and then …
> 	return $xml;
> }
> 
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general


_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list