there are parameter for contentload:<br>pageSize, pageIndex and pageNavLength<br><br>example code:<br><span style="font-family: courier new,monospace;">...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
<cms:contentload collector="allInFolderPriorityDateDesc" </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> param="/news/newsitem_${number}.html|xmlcontent"
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> pageSize="${property.element-count}"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
pageIndex="${param.page}" </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> pageNavLength="10"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> editable="true"><cms:contentinfo var="info" scope="page"/><br><br>... (your output here)<br><br></cms:contentload>
<br><br>...<br><br><h1>Seite <c:out value="${info.pageIndex}"/> von <c:out value="${info.pageCount}"/></h1><br> <ul id="nav"><br> <c:forEach var="i" begin="${
info.pageNavStartIndex}" end="${info.pageNavEndIndex}"><br> <c:choose><br> <c:when test="${info.pageIndex==i}"><br> <li><b> » Seite <c:out value="${i}"/></b></li>
<br> </c:when><br> <c:otherwise><br> <li><a href="<cms:link><cms:info property="opencms.request.uri"/><c:out value="?page=${i}"/></cms:link>"> » Seite <c:out value="${i}"/> </a></li>
<br> </c:otherwise><br> </c:choose><br> </c:forEach><br> </ul></span><br>...<br><br>hth<br><div><span class="gmail_quote">2006/1/9, Thierry Collogne <<a href="mailto:tcollogne@hotmail.com">
tcollogne@hotmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I have a custom xml content and use the following code to display
<br><br><cms:contentload collector="allInFolderDateReleasedDesc"<br>param="/playground/events/news_${number}.html|wdog_article" editable="true"><br> <h2><cms:contentshow element="Title" /></h2>
<br> <c:set var="dateString"><cms:contentshow element="Release"/></c:set><br> <p><%<br> long date =
<br>Long.parseLong(pageContext.getAttribute("dateString").toString());<br> out.print(CmsDateUtil.getDateTimeShort(date ));<br> %><br> </p>
<br> <cms:contentcheck ifexists="Image"><br> <img src="<cms:link><cms:contentshow element="Image"/></cms:link>">
<br> </cms:contentcheck><br> <p><cms:contentshow element="Text"/></p><br></cms:contentload><br><br>How can I limit the results shown? I have tried to examine the template-one
<br>template, but I can't figure it out<br><br><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit
<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mit freundlichen Grüßen<br><br>Siegfried Puchbauer