Namespace for TemplateDirective with setSharedVariable
Jeremy Chone <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have a set of templateDirective that I am adding to my Freemarker
configuration using setSharedVariable.
I would like to simulate a name space. For example, I would like to set the
template directives directive1 and directive2 under the under name
"moduleA", to be able to call
[@moduleA.directive1 .../]
and
[@moduleA.directive2 .../]
Can I have the just do?
conf("moduleA.directive1",myDirective1);
...
or do I have to use another name space separator other than "."?
Jeremy,
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user