Using Freemarker to generate Freemarker?
gz1 <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, What's the best way to use Freemarker to generate Freemarker? Ideally I'd like to processes a template and substitute the tags that it finds bindings for. If no binding is found for a tag/expression I'd want it to just render the tag as-is. Right now Freemarker tosses its exception cookies if an expression is undefined because there is no binding for it. I'm wanting to pre-process a Freemarker template and substitute some tags, but not all. After this initial pre-processing the resultant output (also a Freemarker template) is processed again by another object to replace the remaining expression tags. Any ideas? Thanks! Greg -- View this message in context: http://freemarker.624813.n4.nabble.com/Using-Freemarker-to-generate-Freemarker-tp2217242p2217242.html Sent from the freemarker-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------