[TYPO3-mvc] pagination widget parameter
Valentin Zickner
typo3 at joan.coderworks.de
Fri May 4 00:07:28 CEST 2012
Hi Andre,
I build for this case an array in my controller:
$this->view->assign('jumpToPage', array('tx_myextension_action' =>
array('%40widget_0' => array('currentPage' => PAGE_NUMBER))));
With the calculated page number. For details of the parameters you can
take them from the URI.
Then I add in my template to the <f:link.... the
additionalParams="{jumpToPage}" attribute.
Regards
Valentin
On 03.05.2012 23:22, André Müller wrote:
> hey everybody!
>
>
>
> I have a problem with the pagination widget in fluid. I combined the list
> and detail view in one view. on the left side is the list and on the right
> side is the detail, when you click in the list. that works very fine. Now I
> implemented the pagination widget for the list and the list works fine, but
> when I click on an item, the pagination goes to the first list. I think,
> this is because the link to an detail view is without the parameter and I
> tried to give the link the paramter but it doesn´t work. Has anybody an idea
> for solving the problem?
>
>
>
> thanks
>
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
More information about the TYPO3-project-typo3v4mvc
mailing list