How can I render a single component automatically?
I know that for a list that users can choose, there is the     
<c:forEach items="${components}" var="component">
    <cms:component content="${component}" />
</c:forEach>

but what if I want the page's jsp to always render a component of a specific 
type?  i.e. with 
<cms:component content="topicpages:components/minortopicsRelatedTopicsItem" />

Unfortunately, I get the following error in the JSP on this line:
info.magnolia.rendering.engine.RenderException: The 'content' or 'workspace' 
and 'path' attribute have to be set to render a component.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e5ef9a6e-8de5-4f50-b154-01e7a63b6da4


----------------------------------------------------------------
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