Hello, I'm working on a template and I'm trying to implement something similar to:
https://documentation.magnolia-cms.com/display/DOCS/Multivalue+field But instead on using the categories app I'm using the pages app. I defined two fields a text field and a link field. I'm able to retrieve the text field which is a custom name the end user can define. My issue is retrieving the link of the page that is stored. So far I'm only able to obtain the JCR value where the link is stored but not the actual link. So, in my dialog the user is able to pick a page and give it a custom title. But in my .ftl file I have tried several of the link methods listed here: https://documentation.magnolia-cms.com/display/DOCS/cmsfn But when I do list using ${cmsfn.link(child.myPage)!} I get the following error: No compatible overloaded variation was found; declared parameter types and argument value types mismatch. The FTL type of the argument values were: string (wrapper: f.t.SimpleScalar). The Java type of the argument values were: String. The matching overload was searched among these members: info.magnolia.templating.functions.TemplatingFunctions.link(javax.jcr.Property), info.magnolia.templating.functions.TemplatingFunctions.link(javax.jcr.Node), info.magnolia.templating.functions.TemplatingFunctions.link(info.magnolia.jcr.util.ContentMap), info.magnolia.templating.functions.TemplatingFunctions.link(String, String) Thanks. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=018a4805-1c57-4d4a-850e-9c5c9b023b3d ---------------------------------------------------------------- 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> ----------------------------------------------------------------