Hi Magnolians! (or should that be Magnoliites? ;-) This email is about the new "ui" templating components, as described here: http://dev.magnolia-cms.com/~gjoseph/new-authoring-tags And here: http://wiki.magnolia-cms.com/display/DEV/Concept+taglib+cleanup,+extraction,+rewrite
I've been trying the new ui components, and have a number of questions: 1. The syntax given in the blog-post above (with [[email protected] target=content.main paragraphs='textImage' /] is not actually supported, right? According to the code, the tag supports the 'contentNodeName' attribute, but not a 'target' attribute, correct? Can you confirm this? 2. I'm trying to access the editing-components as freemarker directives. Examining the module, I find the following: - on module installation, a new node "ui" is configured under /server/rendering/freemarker/sharedVariables - The node has class property set to: "info.magnolia.module.templatingcomponents.freemarker.Directives" - As I understand it, the shared variables should be added to the set of freemarker variables for each template rendering So it seems to me I should be able to write something like ${ui.new() } or [[email protected] ...] Why does freemarker not seem to know these directives? What is the correct syntax for accessing the "new" directive in the shared variables? 3. What is the status of all this regarding Magnolia5 and Vaadin? Is it still planned to complete the new version of the templating-components in this way, or will there be an all-new Vaadin-based implementation? Any feedback would be appreciated! Thanks for your help! Regards from Vienna, Richard ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
