<p>Hi borja,</p>
<p>Thanks for the reply. Yes, your idea is good, the problem I have is that in our model we have more than one nested elements that may each nest multiple nested elements. So, my jsp has a sequence of contentload, contentloop, contentshow that are nested. In this nested jsp, I don't seem to get my values correctly and that's where the confusion is.</p>

<p>Best,<br>
Sachin</p>
<p><blockquote type="cite">On Jun 1, 2010 3:29 AM, "Borja Fernandez Pillado" <<a href="mailto:borja.fpillado@gmail.com">borja.fpillado@gmail.com</a>> wrote:<br><br>Hi Tim,<br><br>I'm gonna try to explain you what you have to do for working all these things out and why it doesn't work. Well, in the first xml content you have a VFS field, where you edit a path, everything ok till here. Although the path is pointing to another xml content, it doesn't matter, it is just a path, so there's no more information in this field.<br>

So If you write in your jsp <cms:contentload><cms:contentloop><cms:contentshow> you are getting the directions, the paths which you edited previously.<br>The way that I solve this is keeping the path in the pageContext and then I open another <cms:contentload>. This is an example:<br>

<br><cms:contentload collector="XXX" param="XXX"  ><br>     <cms:contentcheck ifexists="FieldVFS"><br>           <cms:contentloop element="FieldVFS"><br><br>                <c:set var="myPath"> <cms:contentshow/> </c:set><br>

                <cms:contentload collector="singleFile" param="%(pageContext.myPath)"  ><br>                      // Your code here<br>                </cms:contentload><br><br>           </cms:contentloop><br>

     </cms:contentcheck><br></cms:contentload><br><br>As you can see, we get the path from the first xml and then we get the information of the nested xml content.  I hope to help you.<br><br>Regards<br><br><br>

<div class="gmail_quote">2010/5/31 Tim Daschner <span dir="ltr"><<a href="mailto:timd@thedoleco.com" target="_blank">timd@thedoleco.com</a>></span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<p><font color="#500050">><br>> Hello,<br>><br>> I have a xml content definition which has a field that can contain 0 or more vfs file...</font></p>
_______________________________________________<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" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><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" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></p>