ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert G." <...@mercon24.de>
Subject Re: render screen within data resource (CMS)
Date Fri, 11 Jan 2013 10:39:30 GMT
Hey Winster, 

thanks for your reply.

So you render the screen like I do, right?

-->
${screens.render("component://ecommerce/widget/CatalogScreens.xml#somescreen")}
within the FTL...

So this works for me within "real" FTL files as well. But within the CMS
content (content type FTL) the rendering is done everytime before all other
things, so the content which is rendered is always on top of the site.

The problem is, that I need this functionality, because I want that my
people can create content with CMS. With a few extra data, they can include
screens which I had created.

maybe it is possible to render it in a variable? like:

<#assign test =
${screens.render("component://ecommerce/widget/CatalogScreens.xml#somescreen")}
/>

and than call it at the target position within the content with ${test}

But with that I do get a "ParseException", within the assign statement.

So i am at a loss :)

any further ideas?











--
View this message in context: http://ofbiz.135035.n4.nabble.com/render-screen-within-data-resource-CMS-tp4638481p4638842.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message