Is it possible for you to split your screen as follows?
Screen : User entered data (Content) + some predefined data (preconfigured
ftl)
If this can be achieved, I would have gone for a screen as given below.
<screen name="main-decorator">
<section>
<actions>
</actions>
<widgets>
<platform-specific><html><html-template
location="component://xxx/yyy/zzz.ftl"/></html></platform-specific>
<content content-id="10010"/>
</widgets>
</section>
</screen>
Ofcourse you have the flexibility to put conditions inside widgets.
On Fri, Jan 11, 2013 at 4:09 PM, Robert G. <[email protected]> wrote:
> 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.
>
--
Winster T Jose
Director - Technology and Architecture
Chathurangam Creative Solutions Private Ltd.
Cell: +91-98469 31020
Mail: [email protected]