[opencms-dev] <cms:contentloop element="XX"> Tag

Bernd Wolfsegger bw at code-create.com
Fri Oct 7 11:13:22 CEST 2005


With "contentloop" you can also get at nested elements.
So maybe, if you try to iterate through two not netsted multi elements using 
nested "contentloop" tags there is a problem in the source code not knowing 
what to do.
Maybe nested "contentloop"s only work with nested elements.
I have not tested it yet. I only used nested "contentloop" with nested 
elements so far. That works fine. But it is not necessary anymore, because 
with 6.0 you can use XPath paths in "contentshow" and access nested elements 
directly.

Kind regards, Bernd Wolfsegger

On Friday, 7. October 2005 11:41, Manuel Wallnoefer wrote:
> Hi all,
>
>
>
> i've got a problem with the contentloop tag.
>
>
>
> I want to to something like that :
>
>
>
> <cms:contentloop element="XX">
>
>
>
> Do somethimg
>
>
>
> <cms:contentloop element="XX">
>
> Do something
>
> </cms:contentloop>
>
>
>
> Do something
>
>
>
> </cms:contentloop>
>
>
>
> But the inner contentloop isn't executet!
>
>
>
> Can anybody help me ?
>
>
>
> Thx
>
>
>
> ~manuel

-- 

[  Code Create
[  Web Content Management and Presentation


[  Bernd Wolfsegger
[  Sun Certified Programmer for Java(TM) 2 Platform


[  Lohmeyerstrasse 13
[  10587 Berlin
[  Germany
[  Fon +49 (0)30 26555788
[  Fax +49 (0)30 2651835
[  Mobile +49 (0)163 6505622

[  bw at code-create.com
[  http://www.code-create.com/




More information about the opencms-dev mailing list