wf-core:countArticleComments

This tag counts the number of comments of a Article.

Syntax
<wf-core:countArticleComments
   article="..."?
   articleId="..."?
   topLevelOnly="..."?
   var="...">
   ...
</wf-core:countArticleComments>
Attributes
var, mandatory, no runtime expressions

Result is returned via this attribute

articleId, no runtime expressions

This id will be used to fetch the article which comments are to be counted. If this is not given, this tag tries to find an 'article' object in the requestScope and calculates the number of comments for that article.

article, no runtime expressions

If this attribute is given, comments of this PresentationArticle article object is counted as result.

topLevelOnly, no runtime expressions

If this attribute is set to true, this tag only calculates the number of top level comments.