Freemarker function for getting the object count from an object list
git-svn-id: https://svn.libreccm.org/ccm/trunk@6056 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
f9da0f8a80
commit
dc62372a6f
|
|
@ -25,6 +25,10 @@
|
|||
</#if>
|
||||
</#function>
|
||||
|
||||
<#function getObjectCount listId>
|
||||
<#return model["/bebop:page/*[id='${listId}']/nav:ObjectList/nav:paginator/@objectCount"]@@text>
|
||||
</#function>
|
||||
|
||||
<#function getItemLink item>
|
||||
<#return item["./nav:path"]>
|
||||
</#function>
|
||||
|
|
|
|||
Loading…
Reference in New Issue