[TYPO3-mvc] paginate widget looses object property (sub object))
Markus D
typo3 at markusduebbert.de
Tue Mar 8 07:26:26 CET 2016
hi,
im want to paginate a comments result page.
my objects look like this:
comment
-uid
-author
-message
-replies
replies means, that a user comments a comment.
therefore replies also contain another comment object.
in my list view i have two nested "for loops":
<f:for each="{comments}" as="comment" iteration="commentIterator">
shows me comments an level 1
<f:for each="{comment.replies}" as="reply" iteration="replyIterator">
shows me sub comments
so far so good.
now i want to paginate through the result.
<f:widget.paginate objects="{comments}" as="paginatedBlogs" configuration="{itemsPerPage: 5, insertAbove: 1, insertBelow: 0, maximumNumberOfLinks: 10}">
now i have the problem:
all my comment.replies objects are NULL.
why ist this so? how can i void this?
best regards blueamerican
More information about the TYPO3-project-typo3v4mvc
mailing list