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

Daniel Rhoden drhoden at iiwinc.com
Thu Feb 24 15:08:26 CET 2005


The few times I ran into the inclusion loop error it was because I had 
just imported new template items and the page I was trying to view 
required those items.  After publishing all the dependent resources the 
inclusion loop error went away.

Hope this helps!

Xavier Ottolini wrote:

> 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 ?
>



More information about the opencms-dev mailing list