On 15/1/2013 10:01 PM, Jim Gay wrote:
The code should work with <r:aggregate:each paths="...">
But obviously something is wrong.
Ya, this doesn't work for me right now.
There are (or should be) 2 ways to use the aggregate tag.
- to collect a group of pages to iterate
- to collect a group of pages to iterate their children
So both of these bits *should* work
<r:aggregate paths="...">
<r:each>... each of the aggregated pages </r:each>
<r:children:each> ... each of the children of aggregated pages
</r:children:each>
</r:aggregate>
Yep, these work!
For me, the earlier fault with "r:aggregate paths='..'" was that the
next line was
<r:aggregate:children:count />
(note the "aggregate" before children) - after changing it to
r:children:count, it worked fine.
Best Regards,
Mohit.