[FLOW3-general] Pagination viewhelper requires Persistence\QueryResult

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Wed Mar 23 23:24:34 CET 2011


No I am pretty sure the viewHelper wasn't adjusted yet to the Doctrine 
Persistance, would be great if you could open a ticket in forge for this:
http://forge.typo3.org/projects/package-fluid/issues

Thanks,
Christian

On 23.03.2011 22:20, Peter Beernink wrote:
> Hi,
>
> After updating my code to make correct use of the Doctrine
> implementation, I wanted to display a listing of all elements retrieved
> from a repository using the pagination widget.
> To accomplish this, I assign the return value of a repository->findAll()
> to the objects attribute of the<f:widget.paginate>
> However, this results in an exception:
>
> PaginateViewHelper_Original::render() must be an instance of F3\FLOW3
> \Persistence\QueryResult, instance of F3\FLOW3\Persistence\Doctrine
> \QueryResult given
>
> Is this because the viewhelper has to be rewritten in order to work with
> Doctrine, or do I have to convert the result myself somehow?
>
> Greets,
> Peter
>



More information about the FLOW3-general mailing list