qualification:mostFavoritePagerSource

Gets a pagerSource of the articles that are added most as favorite. Will create both an scripting variable and a page scoped bean of the Variable-class. Returns a pagerSource that you can use in the pager tag.

  <qual:mostFavoritePagerSource
        id="favList"
        max="10"
        pageSize="10"
        maxActionItems="10"/>
  <c:forEach items="${favList.pageItems}" var="item">
    <article:use articleId="${item.articleId}">
      ${article.title} (${item.count})
    </article:use>
  </c:forEach>
Syntax
<qualification:mostFavoritePagerSource
   id="..."
   max="..."
   maxActionItems="..."
   pageSize="..."/>
Attributes
id, mandatory, no runtime expressions

Name of the scripting-variable.

pageSize, mandatory

max, mandatory

The maximum number of articles it returns.

maxActionItems, mandatory

The maximum number of pager items it creates.