Hello,

I'm glad the forums are back!

I'm interested in learning a bit more about:

https://documentation.magnolia-cms.com/display/DOCS/Transforming+field+values#Transformingfieldvalues-Combiningdelegatingtransformers

I find the documentation has a lot of YAML examples but very little .FTL 
examples.

Anyways, I would want to use something similar to the example on the 
documentation.

But, I'm stuck on the freemarker template.


I have something like this:

[code]
[#if content.flightList?has_content]
        <ul>
        [#list cmsfn.children(content.flightList) as child ]
                        <li>
                                <p> ${child.flightFrom!}  ${child.flightTo!} 
</p>
                                        [#--
                                                another list for my seats would 
be my guess
                                         --]
                        </li>
                [/#list]
        </ul>
[/#if]
[/code]

The data is being stored in the JCR just like in the picture of the JCR on the 
example.

I just don't how to access and printout the data that is being stored.

Thanks for the help!

Luis

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=0bced1df-d77d-48d1-9c5e-d4fa5d487f81


----------------------------------------------------------------
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>
----------------------------------------------------------------

Reply via email to