[TYPO3-mvc] Value empty in Fluid but not in Controller?

Bastian Waidelich bastian at typo3.org
Tue Apr 26 19:29:26 CEST 2011


Oliver Wand wrote:

> Dear all,

Dear one ;)


> Debugging $question->getTitle() in the corresponding controller returns
> the expected value, so there all seems to be fine.
> But during "for each" in Fluid {question.title} is rendered empty.

Are you sure, that..

1. you are in the right action
2. that you assigned the value to the view 
($this->view->assign('question', $question))

does
<f:debug>{question}</f:debug>
return anything?

HTH
Bastian



More information about the TYPO3-project-typo3v4mvc mailing list