makumba hackers: this page is generated, don't edit it! Instead edit the text in the included pages.

Taglib documentation for EL function mak:lastCount#

Description#

The maximum count of the previous mak:list
.

Attributes#

This tag has no attributes

See also#

mak:count, mak:maxCount, mak:nextCount, mak:maxResults

Examples#

<mak:list ...>
   <c:if test="${mak:count()==1}">These are the list elements: </c:if>
   <tr bgcolor="${mak:count()%2==1?"white":"grey"}">
        <td>this shows in alternate colors</td>
        ...
   </tr>
   <c:if test="${mak:count()!=mak:maxCount()}">
       a separator where we can have any <b>tag</b> 
       we don't want separators to be shown after the last element 
   </c:if>
</mak:list>
<c:if test="${mak:lastCount()==0}">These are no elements </c:if>
.

Category Documentation


Add Comment
« This page was last updated on August 1 2010