Sun Java System Portal Server 7 Developer Sample Guide

To Modify viewHits in View Discussion Page


<jx:set var="hitNumber" value="500"/>

By default, the viewHits property is set to 500. Make this -1 if you want all the comments to be displayed or reduce this number to improve performance. For example, if the value is 200, only the first 200 comments will be displayed in this case (includes comments and sub-comments.) The hitNumber for view discussion page can be reset in the viewDiscussion.jsp file.