[FLOW3-general] [Resolve]Error by using widget paginate

Phallin Hor phallin at web-essentials.asia
Tue Aug 14 12:29:22 CEST 2012


Thank you for  your reply.
Now it works but I configured some in Configuration/Routes.yaml

-
   name: 'Services Pagination'
   uriPattern: 
'services/page/{--typo3-fluid-viewhelpers-widget-paginateviewhelper.currentPage}'
   defaults:
     '@controller': 'Service'
     '@action': 'index'
     '--typo3-fluid-viewhelpers-widget-paginateviewhelper':
       '@controller': ''
       '@package': ''

-
   name: 'Services Pagination - First Page'
   uriPattern: 'services'
   defaults:
     '@controller': 'Service'
     '@action': 'index'
     '--typo3-fluid-viewhelpers-widget-paginateviewhelpe':
       '@controller': ''
       '@package': ''

On 08/14/2012 04:23 PM, Phallin Hor wrote:
> Dear list,
>
> I am a newbie in flow3. Currently, I am using FLOW3 1.2.0-dev and I got
> some problems with using <f:widget.paginate>.
>
> My script:
> <f:widget.paginate objects="{services}" as="tempServices"
> configuration="{itemsPerPage: 5}">
> <f:for each="{tempServices}" as="service">
>      {service.name}
> </f:for>
> </f:widget.paginate>
>
> And I got some error below:
> #1301610453: Could not resolve a route and its corresponding URI for the
> given parameters. This may be due to referring to a not existing package
> / controller / action while building a link or URI. Refer to log and
> check the backtrace for more details.
>
> How can I fix this problem?
>
> Kind regards,
> Phallin



More information about the FLOW3-general mailing list