Author: mfang
Date: 2009-06-02 11:47:03 +0200 (Tue, 02 Jun 2009)
New Revision: 35549
Modified:
CMSContainer/trunk/CMSContainer_Modules/workflow/src/webapp/editors/workflow/workflow_list_table_fragment.jsp
Log:
CMSC-1006 Create a 'pages' tag for using inside the Editors and use it by
default for paging
Modified:
CMSContainer/trunk/CMSContainer_Modules/workflow/src/webapp/editors/workflow/workflow_list_table_fragment.jsp
===================================================================
---
CMSContainer/trunk/CMSContainer_Modules/workflow/src/webapp/editors/workflow/workflow_list_table_fragment.jsp
2009-06-02 09:46:49 UTC (rev 35548)
+++
CMSContainer/trunk/CMSContainer_Modules/workflow/src/webapp/editors/workflow/workflow_list_table_fragment.jsp
2009-06-02 09:47:03 UTC (rev 35549)
@@ -1,5 +1,9 @@
<%@ page import="static com.finalist.cmsc.workflow.forms.Utils.*" %>
+<%@ page import="static com.finalist.cmsc.mmbase.PropertiesUtil.getProperty" %>
<%@ include file="globals.jsp" %>
+<c:if test="${empty elementsPerPage}">
+ <c:set
var="elementsPerPage"><%=getProperty("repository.search.results.per.page")%></c:set>
+</c:if>
<table>
<thead>
<tr>
@@ -42,7 +46,7 @@
</thead>
<tbody class="hover">
-<mm:list referid="results" max="${resultsPerPage}"
offset="${offset*resultsPerPage}">
+<mm:list referid="results" max="${elementsPerPage}"
offset="${offset*elementsPerPage}">
<c:if test="${workflowType == 'allcontent' }">
<mm:field name="workflowitem.type" id="itemType" write="false"/>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs