Just have a look at the sourcecode of org.opencms.jsp.CmsJsp.<span style="font-weight: bold;">CmsJspTagContentLoad</span><br>I don't think there is documentation on this feature anywhere<br><br>brgds<br><br>Sigi<br><br><div>
<span class="gmail_quote">2006/1/11, 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;">
Where do you find information about these parameters? I can only find the<br>information in the official OpenCms Documentation and the parameters you<br>speek of are not mentioned.<br><br><br>>From: Siegfried Puchbauer <
<a href="mailto:siegfried.puchbauer@gmail.com">siegfried.puchbauer@gmail.com</a>><br>>Reply-To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>>To: The OpenCms mailing list <
<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>>Subject: Re: [opencms-dev] Limit results show with cms:contentload<br>>Date: Mon, 9 Jan 2006 16:10:39 +0100<br>><br>>there are parameter for contentload:
<br>>pageSize, pageIndex and pageNavLength<br>><br>>example code:<br>>...<br>><cms:contentload     collector="allInFolderPriorityDateDesc"<br>>             param="/news/newsitem_${number}.html|xmlcontent"
<br>>             pageSize="${property.element-count}"<br>>             pageIndex="${param.page}"<br>>             pageNavLength="10"<br>>             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="${<br>>info.pageCount}
"/></h1><br>>     <ul id="nav"><br>>     <c:forEach var="i" begin="${info.pageNavStartIndex}" end="${<br>>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="<br>>opencms.request.uri"/><c:out value="?page=${i}"/></cms:link>"> »
<br>>Seite<br>><c:out value="${i}"/>    </a></li><br>>                 </c:otherwise><br>>         </c:choose><br>>     </c:forEach><br>>     </ul><br>
>...<br>><br>>hth<br>>2006/1/9, Thierry Collogne <<a href="mailto:tcollogne@hotmail.com">tcollogne@hotmail.com</a>>:<br>> ><br>> > 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"<br>> > editable="true">
<br>> >                                 <h2><cms:contentshow element="Title"<br>> > /></h2><br>> >                                 <c:set var="dateString"><cms:contentshow
<br>> > element="Release"/></c:set><br>> >                                 <p><%<br>> >                                         long date =<br>> > Long.parseLong(pageContext.getAttribute
("dateString").toString());<br>> >                                         out.print(<br>> > CmsDateUtil.getDateTimeShort(date ));<br>> >                                     %><br>> >                                 </p>
<br>> >                                 <cms:contentcheck ifexists="Image"><br>> >                                         <img<br>> > 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<br>> > 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<br>>visit<br>> > <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>> ><br>><br>><br>><br>>--<br>>Mit freundlichen Grüßen<br>><br>>Siegfried Puchbauer<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><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