[magnolia-dev] Wrapper around each

"Philipp Roland (via Magnolia Forums)" <forum-O8DnXSz/[email protected]> Thu, 6 Jul 2017 18:52:46 +0200
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <1897745688.31.1499359964475.JavaMail.forum@fred>
I have the following Code within my Area-Template that works as expected=3A=


=3Cdiv class=3D=22row=22=3E
=09=5B=40cms=2Earea name=3D=22content=22 /=5D
=3C/div=3E

What I need now=3A I just want to =22wrap=22 each Component within the =22c=
ontent=22-Area with an additional =22div=22-Tag=2E So I=27ve tried to do th=
e following in the Area-Script=3A

=5B=23list components as component=5D
=09=3Cdiv class=3D=22myclass=22=3E
=09=09=5B=40cms=2Ecomponent content=3Dcomponent /=5D
=09=3C/div=3E
=5B/=23list=5D

But this gives me an Error =22components=22 is null=2E

Any idea what I do wrong=3F

Thanks in advance=2E
Roland

--=20
Context is everything=3A http=3A//forum=2Emagnolia-cms=2Ecom/forum/thread=
=2Ehtml=3FthreadId=3D5a0e30f4-6ed9-4af7-9ca6-d48ccd9bf300


----------------------------------------------------------------
For list details=2C see=3A http=3A//www=2Emagnolia-cms=2Ecom/community/mail=
ing-lists=2Ehtml
Alternatively=2C use our forums=3A http=3A//forum=2Emagnolia-cms=2Ecom/
To unsubscribe=2C E-mail to=3A =3Cdev-list-unsubscribe=40magnolia-cms=2Ecom=
=3E
----------------------------------------------------------------