[FLOW3-general] Paginate widget and action parameters

Peter Beernink p.beernink at drecomm.nl
Mon Dec 12 19:19:19 CET 2011


Hello

I'm trying to get the paginate widget to work in an argument based action.

My situation:
I have a listAction(\....\Category $categeroy = NULL) action.
In the view of this I have a paginate widget.
When I call the action without the category, the correct routing if 
found and a /page/2 link is created.
However, when I request my listAction with a category (for example 
/category/catagory-title) I get the "Could not resolve a route and its 
corresponding URI for the given parameters." message.

When I raise the amount of items per page so I have only one page, it is 
working as it should, so the 'normal' route is working correctly.

I've tried to add two additional routing rules for the widget and 
started fiddling with those, but I keep getting this message.
The routes.yaml as I currently have can be found at [1].

Does anyone have any ideas on how to configure the pagination with 
additional parameters?

Thanks in advance,
Peter

--
[1] http://pastebin.com/ja2H2apg




More information about the FLOW3-general mailing list