[TYPO3-mvc] own widget.paginate and f.widget.paginate throws error

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Jun 17 14:40:56 CEST 2011


Hey,

> $query->getQuerySettings()->setReturnRawQueryResult(true);

don't do that if you like to use the paginate widget or any other widget 
manipulating the queryResult. This will tell Extbase to return a plain 
array instead of the queryResultInterface. setReturnRawQueryResult 
should only be used if you don't intend to work with objects or use a 
custom SQL statement returning some fancy stuff not related to objects.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list