Hey all, I've got a simple question about info.magnolia.ui.form.field.definition.OptionGroupFieldDefinition The documentation about this YAML form field definition is clear, but getting the values substracted is a different story.
How can I read out the values on the .ftl document? Here is what I currently have: [code] - name: spacer class: info.magnolia.ui.form.field.definition.OptionGroupFieldDefinition label: Separating line? sortOptions: false type: String options: - name: noSpacer selected: true label: No line value: noSpacer - name: maxWidth label: Small line value: maxWidth - name: fullWidth label: Full width line value: fullWidth [/code] What I tried: [code] ${content.spacer} (gives true / false) ${content.spacer.noSpacer} ${content.spacer.value} [/code] What gives an error [code][#if content.spacer?has_content] <div> blaat </div> ${content.noSpacer} <hr class="[#if content.maxWidth?has_content && content.maxWidth == true]max-width--inner[/#if]"> [/#if][/code] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=db0c59f4-0362-4350-804a-582d8e4855d9 ---------------------------------------------------------------- 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: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------