mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Further fix for ETHREEOH-1661 - Links Paginator not responding to click events
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<#--
|
<#--
|
||||||
|
|
||||||
Renders paged results information.
|
Renders paged results information.
|
||||||
The passed in data object should contain following attributes:
|
The passed in data object should contain following attributes:
|
||||||
pageSize: the number of elements requested to be returned (forms part of the request)
|
pageSize: the number of elements requested to be returned (forms part of the request)
|
||||||
@@ -16,13 +15,12 @@ Usage:
|
|||||||
<@yourLib.itemJSON item=item />
|
<@yourLib.itemJSON item=item />
|
||||||
</@gen.pagedResults>
|
</@gen.pagedResults>
|
||||||
}
|
}
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<#macro pagedResults data>
|
<#macro pagedResults data>
|
||||||
"total" : ${data.total?c},
|
"total": ${data.total?c},
|
||||||
"pageSize" : ${data.pageSize?c},
|
"pageSize": ${data.pageSize?c},
|
||||||
"startIndex" : ${data.startIndex?c},
|
"startIndex": ${data.startIndex?c},
|
||||||
"itemCount" : ${data.itemCount?c},
|
"itemCount": ${data.itemCount?c},
|
||||||
"items":
|
"items":
|
||||||
[
|
[
|
||||||
<#list data.items as item>
|
<#list data.items as item>
|
||||||
|
Reference in New Issue
Block a user