[TYPO3-mvc] Exbase render html in Controller

Muriel le Pair typo3 at strangefruit.nl
Tue Jul 1 13:45:57 CEST 2014


Hi,

I'm returning the content with ajax to the page.

$item->getText() needs to be html.

How do you render $item->getText() through the RTE renderer in Extbase 
without assigning a hole template to it (like you could do with 
pi_RTEcssText() )?

$item = $this->partnersRepository->findByUid($partners);

$response = array(
    'title' => $item->getTitle(),
    'rollen' => $item->getCatRollen()->toArray(),
    'taken' => $item->getCatTaken()->toArray(),
    'singletext' => $item->getText(),
);

--
kind regards,

Muriel le Pair



More information about the TYPO3-project-typo3v4mvc mailing list