[TYPO3-mvc] Getting rid of base wrap inside a controller action?
Steffen Ritter
info at rs-websystems.de
Sat Oct 30 09:15:54 CEST 2010
Am 30.10.2010 00:04, schrieb Braulio J. Solano-Rojas:
> Hello.
>
> I have an action that's called by AJAX and I would like not to have the
> base wrap, just to return a number. I have tried several things like:
>
> $this->throwStatus(202, 'OK', number_format($rate, 2, '.', '\''));
>
> $this->response->setContent(number_format($rate, 2, '.', '\'')); /* this
> one also calls empty view */
>
> return number_format($rate, 2, '.', '\'');
>
> But nothing seems to work.
>
> How can I get rid of it inside of the action (without Typoscript)?
> Someone has done it?
>
> Thanks in advance...
>
> Best regards,
>
> B.
remove it from the layout? use antoher/no layout?
More information about the TYPO3-project-typo3v4mvc
mailing list