<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>Hi All,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>We're having a similar issue with nested contentloop tags.
When we nest the tags, it loops through the outer element in both loops, never
through the inner one. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>For example:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2><cms:contentcheck
ifexists="ContactTable"><BR><cms:contentloop
element="ContactTable"><BR> <cms:contentcheck
ifexists="ContactLink"><cms:contentloop
element="ContactLink"><tr><td><!--#include
virtual="<cms:contentshow element="ContactLink" />"
--></td></tr></cms:contentloop></cms:contentcheck><BR></cms:contentloop><BR></cms:contentcheck></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>This outputs : </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2><tr><td><!--#include virtual="??
ContactTable[1]/ContactLink[1] ??"
--></td></tr></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><SPAN
class=248290121-15022006><FONT face=Arial color=#0000ff
size=2><tr><td><!--#include virtual="??
ContactTable[2]/ContactLink[1] ??"
--></td></tr></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><SPAN
class=248290121-15022006><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2><tr><td><!--#include virtual="??
ContactTable[3]/ContactLink[1] ??"
--></td></tr></FONT></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><SPAN
class=248290121-15022006><SPAN class=248290121-15022006><SPAN
class=248290121-15022006><FONT face=Arial color=#0000ff
size=2><tr><td><!--#include virtual="??
ContactTable[4]/ContactLink[1] ??"
--></td></tr></FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>Wondering if anyone has figured this out or is this a
bug?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=248290121-15022006><FONT face=Arial
color=#0000ff size=2>Thanks, Ann</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Cristina
Carrozzino<BR><B>Sent:</B> Tuesday, February 14, 2006 8:39 AM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] nested
contentload<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><BR> </DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>we are trying to use nested contentload, but we
are having problems cause the first is displayed,not the second .</FONT></DIV>
<DIV><FONT face=Arial size=2>Wat's wrong in our code?</FONT></DIV>
<DIV><FONT face=Arial size=2>Note that we are trying also to
parameterize the attribute "param" in the nested
contentload.</FONT></DIV>
<DIV><FONT face=Arial size=2>Does Anyone has some suggestion?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>Here the code we
are using:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><cms:contentload collector="singleFile"
param="${opencms.uri}" editable="true"><BR>
<c:set var="test" ><BR>
<cms:contentshow
element="Portlet02/PortletContentPath"/><BR>
</c:set></FONT></DIV>
<DIV><FONT face=Arial
size=2> <BR> </FONT><FONT
face=Arial size=2> <cms:contentload collector="singleFile"
param="${pageContext.test}"
editable="true"><BR>
<%@ include
file="/system/modules/com.mypackage.test/pages/myarticle-detail.txt"
%><BR>
</cms:contentload><BR></cms:contentload><BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cristina</DIV></BLOCKQUOTE></FONT></BODY></HTML>