Hello Magnolians,

while developing templates with blossom (2.0 and Magnolia 4.5.3), we found out, 
that it is not possible, to loop components without defining a templatescript.

With 'normal' templating, it is possible to loop over an area's components by 
letting out the definition of a template script, which really is a nice feature 
(http://documentation.magnolia-cms.com/templates/introduction.html#Areas).

So the idea was, to have a jsp, which does nothing else than looping over an 
area's components, and to use that jsp wherever a list of components occurs.

That works, but only one level deep. When you try to build nested areas and 
loops, a ServletException exception occurs, stating that the 'looping jsp' 
could not be found. So we are forced to have various jsps, which all do the 
same: loop over components. 

Is there any way around this?

Interesting spots in the code, regarding this issue, are:

info.magnolia.module.blossom.template.TemplateDefinitionBuilder L 165 ff

info.magnolia.templating.elements.AreaElement L 276 ff

Thanks in advance,
Anton

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c7819b82-fb26-4a60-86a6-f46c8cd58d1d


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to