AnsweredAssumed Answered

Freemarker include statement

Question asked by steventux on Nov 20, 2008
Latest reply on Dec 31, 2008 by steventux
Can anyone give me an example of how they include an ftl file in another WCM Forms rendition ftl file where the included file is not in the same space? I've seen several posts about this but nothing quite fits with what I need to do in WCM. I have a ftl library file with lots of functions I dont want to repeat in WCM Forms rendition templates and Web Script view templates so including from WebForms and Web Scripts is necessary. I just can't find a working example of how to do this. Can it be done? The wiki says the included file can be referenced by a relative path to the rendition being generated but then is it visible to web scripts? Seems such a simple requiement in a way so I'm sure someone out there has done it before.

Outcomes