[opencms-dev] looping content

Mario Jäger m.jaeger at alkacon.com
Fri Nov 12 09:57:03 CET 2010


Hi Vinod,

I don't know what an error you get. But, do you have the<cms:contentload>  tag around the<cms:contentloop>  tag?

<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>

<cms:contentload collector="singleFile" param="%(opencms.uri)">
   <cms:contentloop element='ImageBanner'>
     <cms:contentshow />
   </cms:contentloop>
</cms:contentload>

-- 
Kind Regards,
Mario.

-------------------
Mario Jäger

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org


Am 26.10.2010 09:07, schrieb Vinod Dangudubiyyapu:
>
> Hi,
>
> I have provided looping content to add multiple image by this code in xsd
>
> <xsd:element name="ImageBanner" type="OpenCmsVfsFile" minOccurs="0" 
> maxOccurs="3" />
>
> I am able to see when edit the page to add multiple images but not 
> displaying on page.
>
> In jsp template code is
>
> <cms:contentloop element='ImageBanner' >
>
> <cms:contentshow />
>
> </cms:contentloop>
>
> Edit mode im able to see to add multiple image, when selecteing page 
> view pointing error about content loop can please provide me example 
> on this.
>
> Thanks and Regards
>
> Vinod D
>
> 	
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101112/b3d540d9/attachment.htm>


More information about the opencms-dev mailing list