[opencms-dev] OpenCms 6 beta 1 : excetion in the article list

Xavier Ottolini xavier.ottolini at adelis.com
Wed Feb 23 13:37:26 CET 2005


Hello all,

I modified a JSP articles of the demo.
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" element="head" />
<div class="element">
<cms:contentload collector="${property.collector}" 
param="${property.xmlcontent-demo}article_${number}.html|12" 
editable="true">
<h1><cms:contentshow element="Title" /></h1>
<p><small>By <cms:contentshow element="Author" /></small></p>
<cms:contentloop element="Teaser">
<p><i><cms:contentshow /></i></p>
</cms:contentloop>
<p>
<cms:contentshow element="Text" />
</p>
</cms:contentload>
</div>
<cms:include property="template" element="foot" />

The Jsp has a property collector : singleFile

I created two structured contents with the resource type "Article". I 
called them article_0001.html and article_0002.html.
I also created a page called "articles_content.html

I get an error message : when I open my "articles.jsp" Here is the 
message :

FlexDispatcher: Dectected inclusion loop for target /articles.jsp

Requested resource: /articles.jsp
OpenCms version: 6.0 beta 1 Corrin
OpenCms context: /opencms/opencms

javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for target /articles.jsp
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
	at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:210)
	at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:344)
	at org.apache.jsp.articles_jsp._jspService(articles_jsp.java:70)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)

What Is wrong ?

-- 
Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
France
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com





More information about the opencms-dev mailing list