Re: Sharing constants in .java and .ftl files
"Luther Baker" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 17, 2008 at 12:38 PM, Daniel Dekany <[email protected]> wrote: > Monday, November 17, 2008, 5:18:53 PM, Luther Baker wrote: > > > On Mon, Nov 17, 2008 at 4:09 AM, Daniel Dekany <[email protected]> > wrote: > > Sunday, November 16, 2008, 9:18:58 PM, Luther Baker wrote: > > > > > > <snip/> > ... > > > I haven't tried ... as, my previous posts indicate I'm still getting > > my head around how to get place POJOs into the namespace via the > > <#assign directive. > > How is #assign related to... anything in this topic? It just reads a > variable like ${foo} does or anything else, and then assigns it to > another variable. > I was using #assign to make the Constants visible ... after which, I was trying to use Constants.PROJECTS in my code. Your posts are helpful, thanks for your patience. I'm going to have to learn a bit more about the TemplateModel and BeanWrapper mechanism. Thanks so much, -Luther ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user