Hello, I have checkbox control in a component that stores data in the following way:
[img]http://desmond.imageshack.us/Himg585/scaled.php?server=585&filename=selection025.png&res=landing[/img] I am having trouble accessing the data. Have tried the following which used to work in Magnolia 4.4.5: <#list content.style?values as styleValue> <br/>${styleValue} </#list> Exception: ERROR freemarker.runtime 04.10.2012 13:49:15 -- Template processing error: "Expression content.style is undefined on line 6, column 8 in mgnl-ext-templates/www-telia-se-newsroom-ui/paragraphs/simpleLinkTable/simpleLinkTableItems.ftl." Expression content.style is undefined on line 6, column 8 in mgnl-ext-templates/www-telia-se-newsroom-ui/paragraphs/simpleLinkTable/simpleLinkTableItems.ftl. The problematic instruction: ---------- ==> list content.style?values as styleValue [on line 6, column 1 in mgnl-ext-templates/www-telia-se-newsroom-ui/paragraphs/simpleLinkTable/simpleLinkTableItems.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression content.style is undefined on line 6, column 8 in mgnl-ext-templates/www-telia-se-newsroom-ui/paragraphs/simpleLinkTable/simpleLinkTableItems.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135) at freemarker.core.BuiltIn$valuesBI._getAsTemplateModel(BuiltIn.java:683) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) Any ideas what I am missing? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=6d8b965e-71c9-477f-81f1-a886fc37c3e3 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
